[API-users] /species route question/possible problem

Scott Chamberlain myrmecocystus at gmail.com
Wed Feb 7 22:37:05 CET 2018

Hi folks,

Seems like the `/species` route is possibly misbehaving in certain cases. A
user of rgbif reports https://github.com/ropensci/rgbif/issues/287
unexpected results. The same calls but with curl:

curl  '
| jq .results\[].datasetKey | wc -l

curl  '
| jq .results\[].datasetKey | wc -l

curl  '
| jq .results\[].datasetKey | wc -l

We'd expect the first curl request to return 17 results given the results
of the datasetKey's individually. Not sure what is going on there. This
route does appear to accept multiple instances of the same parameter, but
not sure why the top curl call there doesn't return 17 results?

Best, Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gbif.org/pipermail/api-users/attachments/20180207/9e58320d/attachment.html>

More information about the API-users mailing list