tbc
is developer friendly twitter bot runner.
install latest pip package from github
ssh mode
# ssh
pip install git+ssh://[email protected]/sota0121/twitter-bot-cli
https mode
# https
pip install git+https://github.com/sota0121/twitter-bot-cli
if want to install specific version (See: Releases)
pip install git+ssh://[email protected]/sota0121/[email protected]
check if successfully installed
tbc --help
(Comming soon ...)
Create .tbcconfig.yml
See: Twitter Authentication for Developer
version: "1"
twitter:
consumer_key: "Twitter api consumer key"
consumer_secret: "Twitter api consumer secret"
access_token: "Twitter api access token"
access_secret: "Twitter api access secret"
source:
# local, gcs, gspread
type: "local"
# for local
local_path: "src/data/tweets-tbl.csv"
# for gcs (future support)
gcs_path: "path/to/cloud/storage/table.csv"
# for gspread (future support)
gspread_path: "path/to/spreadsheet/table"
tbc bot send -m "Hello Twitter!"
# output
Welcome to tbc !!!
bot sub command !!!
load : .tbcconfig.yml
successfully tweeted
See: ROADMAP.md