in case it might help anyone, i made a Jupyter notebook with Python code that can be used / adapted to update a project when using the standard project edit screen is not possible / ideal, such as in the following cases:
- Edit screen won’t save your changes (as described in this thread)
- Sync your project taxon rules with an iNat list (as a better-than-nothing-option unless / until https://forum.inaturalist.org/t/filter-collection-project-using-taxon-list/6470 is implemented)
- Copy rules from another another project (such as described in https://forum.inaturalist.org/t/is-there-a-way-to-copy-the-criteria-of-an-existing-project/50143)
in addition, the notebook could be used / adapted to extract lists of taxa (with ids) from from a project’s rules or an iNat list, exract lists of users from a project’s rules, or extract lists of places from a project’s rules.
…
the notebook code is stored in GitHub at: https://github.com/jumear/stirpy/blob/main/content/iNat_update_project.ipynb
you can run the Notebook directly in your browser here: https://jumear.github.io/stirpy/lab?path=iNat_update_project.ipynb.
key steps for using it would be:
- define your target
project_id
- set up your
source_rules
- input your
jwt
- run