Closed Daniel-Davies closed 4 years ago
Dont worry about the failing test, i'll fix that after merging.
I was thinking we'd actually use pygbif here instead of re-implementing - e.g, this method https://pygbif.readthedocs.io/en/latest/modules/species.html#pygbif.species.name_usage i think is the one you are using - Thoughts?
thanks
Description
I have added the ability to query GBIF for Ids. The code follows the same style as the previous entries for NCBI and ITIS. The API used to query GBIF for this information can be found here: https://www.gbif.org/developer/species. The user must provide a list of species name (or single name) and a rank.
Related Issue
54
Example
x = Ids("panthera tigris") x.gbif() x.extract_ids() => {'panthera tigris':[100388673,...]}
Tests
Passing