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/media113368808http://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@gbif.orgmailto:dnoesgaard@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=%7Bint%7D&media_type=...
e.g http://api.gbif.org/v1/occurrence/search?taxon_key=212&media_type=StillI... 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@lists.gbif.org on behalf of viper_gx@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@lists.gbif.org https://lists.gbif.org/mailman/listinfo/api-users
_______________________________________________ API-users mailing list API-users@lists.gbif.org https://lists.gbif.org/mailman/listinfo/api-users