What would be the best way of extracting / exporting the full profiles the way they result when accessing /entities/{uid} in Yente but for all entities. The specific scenario would be one where we go for an initial T0 followed by subsequent updates with diffs.
Considering the volume of requests needed(one per entity), using the API for this wouldn’t be the most efficient approach.
I’d recommend using the targets.nested.json file from the bulk data download instead. This file contains the full nested entity data for all entities – exactly what you’d get from /entities/{uid}, but for everything at once.
The targets.nested.json format is based on the entity format but combines related entities into a nested object structure, so you get each target entity along with all its related data (sanctions, addresses, identifiers, etc.) already assembled.