Giter VIP home page Giter VIP logo

ttr-population-bot's Introduction

TTR Population Bot

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.

lit

Installing

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'

Windows

Git https://git-scm.com/downloads is needed if you are cloning the repository in the command line. Follow the steps below in the command line. Skip the first line if you downloaded the zip file.
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

Linux

This was tested on Kubuntu 19.10, and should apply to recent distros of Ubuntu and Debian as well.
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

MacOS

Support for MacOS is not currently planned as of now.

Built With

Authors

Main Author: Christian M Diaz

Contact Info

  • GitHub UserName: @chrisd149

  • Discord Username: Miguel149#7640

  • Twitter: @miguel_TTR

  • Email: [email protected]

    • Active Hours Weekdays: 3pm - 10pm EST
    • Active Hours Weekend: 9pm - 1am EST (Some of the time im availiable to 3am on the weekends)

All questions and inquiries must be related to the project in some way, unrelated messages will be ignored

ttr-population-bot's People

Contributors

chrisd149 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ttr-population-bot's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.