palaeoverse / rphylopic

Get Silhouettes of Organisms from PhyloPic
https://rphylopic.palaeoverse.org
GNU General Public License v3.0
91 stars 9 forks source link

Allow permalinks #100

Closed LewisAJones closed 7 months ago

LewisAJones commented 7 months ago

This PR adds increased functionality to get_attribution. It allows users to generate permalinks for collections of UUIDs which can be used to share and document contributors, licenses, etc. This added functionality required the generation of phy_POST which I’ve attempted to standardise with phy_GET. Happy to make any further changes that might be worthwhile!

Closes #81.

LewisAJones commented 7 months ago

Thanks for the quick review @willgearty! I think I've addressed your comments with the latest update. This has required a bit of a shift around but should be easy enough to follow. It would still be good to eventually get all the licenses accessible via PhyloPic rather than hardcoding them!

LewisAJones commented 7 months ago

OK @willgearty, I think I've addressed all your comments now!