monarch-initiative / vertebrate-breed-ontology

https://monarch-initiative.github.io/vertebrate-breed-ontology/
8 stars 0 forks source link

use FAO API to get the latest version of DAD-IS #85

Open sabrinatoro opened 1 year ago

sabrinatoro commented 1 year ago

From the discussion with the FAO team (230216): From Paolo: As agreed, following you will find all the APIs we shown you yesterday. The APIs are linked to the development environment, so you can start to make some initial tests.

Description HTTP URL
Retrieve all the DADIS Countries and for each Country the existing Species GET https://us-central1-fao-dadis-dev.cloudfunctions.net/api/v0/countries/species/
Retrieve all the Country’s Species and Breeds by Country ISO3 GET https://us-central1-fao-dadis-dev.cloudfunctions.net/api/v0/countries/iso3/ITA/species/breeds
Retrieve all the Country’s Breeds by Country ISO3 and Species Name GET https://us-central1-fao-dadis-dev.cloudfunctions.net/api/v0/countries/iso3/ITA/species/Cattle/breeds
Retrieve Breed information by Country ISO3, Species Name and Breed name GET https://us-central1-fao-dadis-dev.cloudfunctions.net/api/v0/countries/iso3/ITA/species/Cattle/breeds/Agerolese

Note: we can use these API to get the latest version of DAD-IS (part of our regular import) once the FAO team has include internal identifiers.

sabrinatoro commented 1 year ago

related to #25

sabrinatoro commented 1 year ago

FRom Gregoire on 230309:

We just finished to release the new APIs in production. Everything is now up and running.

Attached 2 files:

These are the new APIs’ authorization tokens that we have been generated only for them: (see email for details)