Contributter Ranking Bot
Project description
contributter-ranking-bot
- Contributter Ranking Bot for Twitter
- Forked from shuntatakemoto/contributter-ranking-bot
Deployment on Twitter
Installation
pip install contributter-ranking-bot
# or:
pip install git+https://github.com/eggplants/contributter-ranking-bot
CLI Usage
$ crb -h
usage: crb [-h] [-k PATH] [-d DAY] [-w SEC] [-n N] [-q] [-V]
This command makes Contributter Ranking Bot easier to run.
optional arguments:
-h, --help show this help message and exit
-k PATH, --key PATH key file (default: None)
-d DAY, --day-before DAY n days before (default: 1)
-w SEC, --wait-sec SEC interval of retrieving tweets (default: 10)
-n N, --top-n N top n to tweet (default: 3)
-q, --quiet suppress log print (default: False)
-V, --version show program's version number and exit
$ cat .twitter.key
CONSUMER_KEY="***"
CONSUMER_SECRET="***"
ACCESS_TOKEN="***"
ACCESS_TOKEN_SECRET="***"
$ crb -k .twitter.key
Thu Apr 21 19:26:42 UTC 2022
# Running Bot was successful!
# See at: https://twitter.com/satoch_bot/status/1517223447868448768
{
"created_at": "Thu Apr 21 19:27:13 +0000 2022",
...
}
# 5 days before, tweet top-five ranking
$ crb -d 5 -n 5 -k .twitter.key
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for contributter-ranking-bot-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f03b68cbf4be86e6140f855cb9a29c6623f2f46ddd34bfb0abab4ef40473e7a6 |
|
MD5 | c9563ab96e81c5bde310100f1bff80f9 |
|
BLAKE2b-256 | 9c59e97ef27e89ee91b0fdd7da2e69468d22addc315cd325176d4e4dd7292e6d |
Close
Hashes for contributter_ranking_bot-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5d4c281cd58e8b7225040a3f033e5c3ff429968717125ecf783c90cb5efe9f0 |
|
MD5 | 6a62929c76f5ee9ff840cc0975600c44 |
|
BLAKE2b-256 | 7303007f8533c8139e841661d92a1eb6b406c4191d957f392ca9c77b26cea67c |