You are not logged in.
Hi all,
Some of you met me before, and for everyone else my name is Marco and I am the product specialist here at Third Light. I should actually say I was, as today it's my last day of work here.
That said, I wanted to offer a little present before I leave. I wrote a pre-made Python class that covers quite a few methods from the Chorus REST API, so you don't have to code it!
https://github.com/MarcoMiki/Chopyrus
Simply initialising the class will log you in with a specific API key, and from there you can call the methods in a way that is hopefully easy to do. The documentation is available on github too, though I apologise but I did not have time to write code samples yet. I may add them later though.
On top of simply allowing to make API calls but calling methods, I added a few nice things that you wouldn't find off the shelf in the API such as
- export all users of a site to a .csv file
- import a .csv file to modify multiple users
- import a .csv file to delete multiple users
- export a metadata vocabulary to a .csv file
- import a .csv file to modify a metadata vocabulary
An example of something that I built with this class is
https://chorus-user-export-tool.herokuapp.com/
A simple web app to download the user list of a Chorus site from your browser.
I hope you find it useful! I won't be able to answer questions there but I believe you can reach out to me via github if you have any
All the best,
Marco Michelutto
Offline