This is a Tweepy bot that posts updated graphics of Toontown's population every hour of every day, every week. The bot uses the Tweepy module to connect to Twitter, send a HTTP GET request to Toontown Rewritten's Population API to get the population data, and post the information in a graph every week.
The current working twitter bot can be found at https://twitter.com/TTR_Population.
A Keys.py file is need in order to run the bot. This requires 4 keys from a twitter developer app, which can be obtained after making a Twitter Developer Account at https://developer.twitter.com/en/apply-for-access. An example Keys.py file would look like this:consumer_key = 'UYSVoHrPfszAksw4y5zpV8YWm'
consumer_secret = 'fynksBZJjasZgaXQ09fbkj98S5KKLVZXcXT95DRzfVh07Y2cTM'
access_key = '1283567691629436596-6ZpLjqNS7zpzjJRwGG6fegHJPXaNHK'
access_secret = 'uLsYd9xpZqYwdfdTuNe5ixtzDqA5rL7EwN4kf6EQFVrHi'
git clone https//:github.com/chrisd149/TTR-Population-Bot.git
cd TTR-Population-Bot
python -m pip install --upgrade pip
pip install -r requirements.txt
python -m Bot.py
sudo apt-get install git && sudo apt-get install python3-pip
git clone https//:github.com/chrisd149/TTR-Population-Bot.git
cd TTR-Population-Bot
pip3 install -r requirements.txt
python3 -m Bot.py
-
Twitter - Platform used to send posts.
-
Toontown Rewritten - APIs used from to report on ingame data.
-
PyCharm - IDE used to build program.
Main Author: Christian M Diaz
-
GitHub UserName: @chrisd149
-
Discord Username: Miguel149#7640
-
Twitter: @miguel_TTR
-
Email: christianmigueldiaz@gmail.com
- Active Hours Weekdays: 3pm - 10pm EST
- Active Hours Weekend: 9pm - 1am EST (Some of the time im availiable to 3am on the weekends)