Simple script to take a shelf from a Goodreads export and import it into Libby as a tag.
- export your Goodreads library (their API is apparently deprecated)
- Build it:
cargo build --release
- Open libby on another device, go to settings and copy to another device, use that code in the login command:
gr2libby login --code <CODE>
(This will create a libby_config.json with the bearer_token) - If you know your library card id, use it, otherwise run
gr2libby list-cards
to see the cards associated with the login. - run the script, e.g.
gr2libby gr2lib --card-id $LIBRARY_CARD_ID_FROM_STEP_4 --tag "🎧" --book-type audiobook --goodreads-export-csv $CSV_EXPORT_FROM_STEP_1 --goodreads-shelf "to-read"
- ...
- Profit