Hi all,
this is a rather technical question, not sure if this is the right channel… sorry if not.
As a toy project both to learn kivy (a very portable python gui framework) and to get better in identifying butterflies, I decided to write a python program which shows random butterfly images and a couple of suggestions for their species to choose from. However, it seems I get only URLs to the small thumbnail images as a request response. What I do is:
from pyinaturalist.node_api import get_observation
obs = get_observation(37311466) # one of mine
print(obs[‘photos’][0][‘url’]) # yields https://static.inaturalist.org/photos/59125544/square.jpeg?1578255703, which is the thumbnail image.
Is there a way in the API to get the original or at least a larger version? Do I miss something, maybe I have get a login token to access images, or search for certain license types? I have spent an hour or two searching through the api documentation, but have neither found a statement that ‘url’ is the thumbnail URL nor a way to access the original. Of course it could also be a bug in the pyinaturalist interface, but I doubt it changes the json response…
If there is no solution for that, I have to change the app from butterflies to pokemon. My son would love that :)
Best regards
Chriss