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
# 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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3fcf26975413bb04795d77650062a61c4d3399855591d4abe22daa4f69ed673 |
|
MD5 | fae80012f01f37946453d36e47f99433 |
|
BLAKE2b-256 | c69369dfddc6ae5f1d7f8d5390963e535d25a276554c1807e0eeea30f4049326 |
Close
Hashes for contributter_ranking_bot-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97d6dea5dc6c47972bbab22436a1f474fe58a90e3a63c2e8d481eea140212ba2 |
|
MD5 | dac2612e4479522b2614de2d2b0fd7e1 |
|
BLAKE2b-256 | a767a2e6fc091ac238bd09f8c5dacc33ad395cd981b17b61c7875f790c7bf4c7 |