I have multiple images linked to many of my observations. Is there a way that I can get a count of the total number of my images on iNaturalist?
welcome to the forum.
there’s not a straightforward way for regular users like us to do what you’re asking for (that I’m aware of).
you could get this information from the API using this as the base request (and iterating through all the pages needed to get all your observations): https://api.inaturalist.org/v1/observations?user_id=arthur_chapman&per_page=200
or you can use this to see the information in a more human-readable format:
neither of these will automatically aggregate the total number of photos for you, but you could take what they give you and tally or sum things up on your own.
here’s a related discussion that may provide more information: https://forum.inaturalist.org/t/downloading-to-spreadsheet-with-multiple-image-paths/18971.
Thanks @pisum I am till working on it, but by extracting and saving that file, I was then able to do a count on “jpg” + “jpeg”. It gives me an approximate number for now. Appreciated.
just to clarify, if you’re extracting and counting from https://api.inaturalist.org/v1/observations?user_id=arthur_chapman&per_page=200, that may give you a higher count than expected because it includes information on photos other than just yours.
if you’re extracting and counting from https://jumear.github.io/stirfry/iNatAPIv1_observations.html?user_id=arthur_chapman&per_page=200&options=photourl, then that should get you what you need, although i would count instances of
https://static.inaturalist.org/photos rather than
Thanks - used the latter JSON file - and yes - I used https://static.inaturalist.org/photos after getting different fnumbers. The numbers seem about right.