20 lines
774 B
Markdown
20 lines
774 B
Markdown
# tumblr-stats
|
|
## Usage
|
|
```
|
|
usage: tumblr_stats.py [-h] -b BLOG [-t TAGS [TAGS ...]] [-i INPUT] [--after AFTER] OPERATION [OPERATION ...]
|
|
|
|
Use pytumblr to calculate stats after setting these enviroment variables: $TUMBLR_CONSUMER_KEY, $TUMBLR_CONSUMER_SECRET, $TUMBLR_OAUTH_TOKEN, and $TUMBLR_OAUTH_SECRET
|
|
|
|
positional arguments:
|
|
OPERATION operation used to calculate stats
|
|
|
|
options:
|
|
-h, --help show this help message and exit
|
|
-b, --blog BLOG blog name for which to calculate stats
|
|
-t, --tags TAGS [TAGS ...]
|
|
tag(s) to focus on in status (if applicable)
|
|
-i, --input INPUT Don't make API calls, just use a JSON input file
|
|
--after AFTER only gather posts after YYYY-MM-DD
|
|
|
|
— Be gay and do crime
|
|
``` |