LoLei / gryibwc

Goodreads Year In Books Word Count

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gryibwc

Goodreads Year In Books Word Count
Get a word count for all books read in a year. đź“–

Word count might be more accurate than pages, since the page count depends on formatting and whatnot. However, the word counts are estimated based on the length of the audio book version, which is still comparable across books. In any case, it makes for an interesting comparison of years.

Installation

pip install gryibwc

Usage

$ gryibwc -h
usage: gryibwc [-h] [--version] [--fast] userid year

positional arguments:
  userid      goodreads user id
  year        desired year

optional arguments:
  -h, --help  show this help message and exit
  --version   show program's version number and exit
  --fast      skip wait time - risk getting banned

Output e.g.:

Overall word count for year 2019: 4731925

The ID of the Goodreads user can be found in the profile URL.
E.g.: https://www.goodreads.com/user/show/26026244-lorenz
=> ID: 26026244

Also you need to specify an API key in the PUBLIC_KEY environment variable. Get your key here.

Dependencies

About

Goodreads Year In Books Word Count

License:MIT License


Languages

Language:Python 100.0%