Refactored to use specific classes for different operations

This commit is contained in:
2025-12-30 00:18:44 -05:00
parent 8a38cb510b
commit 4fbb99a3f6
9 changed files with 341 additions and 201 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# tumblr-stats
## Usage
```
usage: tumblr_stats.py [-h] -b BLOG [-t TAGS [TAGS ...]] 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)
— Be gay and do crime
```