Inspiration
Donald Trump
What it does
Every 30 minutes, checks for any new tweets by @realDonaldTrump and (comically) "translates" it to @LetMeTrumpThat.
How we built it
Using the Tweepy API in Python, we scrapped the data from Donald Trumps' last 200 tweets and found his most used words. Then replaced with words or phrases we thought were funny and worked well.
Running on a localhost, we check every 30 minutes for new tweets by him, and "translate" them, then tweet them out on our Twitter account.
Challenges we ran into
We never made anything with any sort of Twitter API, especially Tweepy, so learning that took a while due to poor documentation.
Python also does not support specific symbols used in Trumps' tweets, so parsing through his tweets and outputting strings we couldn't handle gave us some problems.
Accomplishments that we're proud of
Creating a running Twitter Bot. Learning the Tweepy API.
What we learned
How to use the Tweepy API. More on how Twitter works in their backend. Further advanced skills with Github.
What's next for LetMeTrumpThat
Listening for and replying to mentions. DM support. Better "translation".
Built With
- python
- tweepy
Log in or sign up for Devpost to join the conversation.