Open omazapa opened 6 days ago
@omazapa El ror trae el geonames_id: 3687925
https://www.geonames.org/3687925/
que tiene API:
http://api.geonames.org/getJSON?geonameId=3687925&style=full&username=XXXXX
{...,
adminId1: "3666313"`,
adminName1: "Valle del Cauca Department",
...
}
http://api.geonames.org/getJSON?geonameId=3666313&style=full&username=XXXXX
ese dato esta en wikidata y no se necesitaria hacer llamados a api
kahi_dev> db.affiliations.find({"addresses.country_code":"CO"},{"addresses.state":1})