Journal archives for June 2022

June 2, 2022

Python script that counts the number of photos a user has uploaded.

I've often been curious about how many photos I've uploaded and how many photos I take per observation. There is no way to do that through the website, so I used python, iNat API, JSON, and a dozens of small tips from people on stackoverflow to make that happen. The python script works well for any user with less than 10,000 observations. Any user with over that number is limited to stats for just the most recent 10,000 observations. It's not efficient code, but if you want to look anyone's photography habits, try out this code:

https://github.com/AlexanderAbair/iNaturalist_user_photo_stat_generator/blob/main/iNaturalist_user_photo_count.py

Posted on June 2, 2022 06:18 PM by alex_abair alex_abair | 0 comments | Leave a comment

Archives