[API-users] Broken Endpoint?

Markus Döring mdoering at gbif.org
Wed Jul 19 14:35:38 CEST 2017


Hi Sandy,
we have removed many datasets as the source of species images from our backbone. Especially wikipedia as the images did not always represent the species.
You can still find these images when querying for the wikipedia record directly, e.g.:

http://www.gbif.org/species/113368808
http://api.gbif.org/v1/species/<http://api.gbif.org/v1/species/113368808/media>113368808<http://www.gbif.org/species/113368808>/media

The backbone taxon does not show that image:
http://www.gbif.org/species/2494528

Now there are only 4 images of a single species left that depicts a bird :)
http://api.gbif.org/v1/species/120620864/media


For other groups this is not so bad. But wikipedia was the major source for species images.

Best,
Markus



On 19. Jul 2017, at 13:51, Daniel Noesgaard <dnoesgaard at gbif.org<mailto:dnoesgaard at gbif.org>> wrote:

Hi,

I’m not sure about the species endpoint, but this might get you what you need:

http://api.gbif.org/v1/occurrence/search?taxon_key={int}&media_type=StillImage

e.g http://api.gbif.org/v1/occurrence/search?taxon_key=212&media_type=StillImage gives you 682,964 bird occurrences with associated images.

/Daniel

On 19/07/2017, 13.12, "API-users on behalf of Sandy Cheeks" <api-users-bounces at lists.gbif.org on behalf of viper_gx at web.de> wrote:

   Hi,

   the /species/{int}/media endpoint seems to be broken. The result set is
   alway empty, even for the ID linked in the examples under
   http://www.gbif.org/developer/species . In December 2016, I was able to
   get plenty of Images for different bird-species through the API, but now
   this is not possible anymore. I need to do this because I am trying to
   train an AI used for image classification in context of my master's thesis.

   Could somebody tell me if anything changed and I'm doing something wrong
   or I am right and the empty result really is caused by an error on the
   server-side?


   Thanks you in advance, Dayzd

   _______________________________________________
   API-users mailing list
   API-users at lists.gbif.org
   https://lists.gbif.org/mailman/listinfo/api-users


_______________________________________________
API-users mailing list
API-users at lists.gbif.org
https://lists.gbif.org/mailman/listinfo/api-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gbif.org/pipermail/api-users/attachments/20170719/356da3bf/attachment.html>


More information about the API-users mailing list