Dear ALL,
Thanks to all who replied, I already got it done and working fine;
Best regards,
Em qua, 30 de jan de 2019 às 17:56, Barve,Vijay vbarve@flmnh.ufl.edu escreveu:
Hello
You will have to use taxonKey for the species of your interest i.e. http://api.gbif.org/v1/occurrence/count?taxonKey=2974832%E2%80%8B should produce required result.
Regards,
Vijay
Vijay Barve Post Doctoral Research Associate Informatics Division Florida Museum of Natural History 1659 Museum Road (Dickinson Hall) University of Florida Gainesville, FL 32611
*From:* API-users api-users-bounces@lists.gbif.org on behalf of Mauro Cavalcanti maurobio@gmail.com *Sent:* Wednesday, January 30, 2019 1:13 PM *To:* api-users@lists.gbif.org *Subject:* [API-users] Getting number of records for a given scientific name
Dear ALL,
Is there a way to retrieve the number of georeferenced records for a given scientific name using a GBIF API call?
I tried something like " http://api.gbif.org/v1/occurrence/count?ScientificName=Vicia+faba https://urldefense.proofpoint.com/v2/url?u=http-3A__api.gbif.org_v1_occurrence_count-3FScientificName-3DVicia-2Bfaba&d=DwMFaQ&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=x4Jq5JthFx0F-_J4c6ssOZGgyYp3W6VaswmEvae3Pv0&m=CwACpnDe-hcCFKBbsCUG5-9iBRQZlyIk7EZ8c16lZ1I&s=Hqz3dkLCynTyoQHX9-B71mr0OjLvUqoOcSp5CRzZi9c&e=" but it of course didn't work.
I realize this is a rather silly question, but most of the time I only access the GBIF API using Python (via pygibf) or R (via rgbif), and therefore I'm not used to direct calls to the API (what a shame!).
Thanks in advance for any assistance you can provide?
Best regards,
-- Dr. Mauro J. Cavalcanti E-mail: maurobio@gmail.com Web: http://sites.google.com/site/maurobio https://urldefense.proofpoint.com/v2/url?u=http-3A__sites.google.com_site_maurobio&d=DwMFaQ&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=x4Jq5JthFx0F-_J4c6ssOZGgyYp3W6VaswmEvae3Pv0&m=CwACpnDe-hcCFKBbsCUG5-9iBRQZlyIk7EZ8c16lZ1I&s=J7gYPvectfSsztb6StSh5KvqjAnILo9P6Pjm43SRU0Q&e= "Life is complex. It consists of real and imaginary parts."