a small script for updating the preferred_language facet of a user in Alma. Asyncronous, capped at 45 simultaneous coroutines
- Open in colab.google.com
- Create an .env file in your project home directory. type in
usersKey=yourapikeyhere
. Must have r/w permissions. - Upload a file containing the list of user Id's in a column titled
id
- Ensure the preferred_language code and description are correct. It is already formatted for Spanish
value: 'es', desc: "Spanish"