Inspiration

We wanted to build a fun and creative project for Sharkhacks. A cool idea we came up with was deciding which Pokemon a person would be based off their birthday. So, we decided to build a program that would take in a user's birthday and figure out which Pokemon that person was.

What it does

PokeFind is a Twitter bot that finds out which pokemon the user is based on their birthday. The user would tweet at our bot like so, "@PokeFind_ #whatpokemonami 01/01/2000". Then the bot will parse through the tweet obtaining the birthday, then the bot will found out the pokedex number based on that user's birthday, and will return the pokedex entry number. With that pokedex entry number, we can retrieve info of that pokemon using the PokeApi and tweet at the user with the information of what pokemon they are.

How we built it

We built this bot using Python. We were able to filter, send, and retrieve tweets using the Twitter API. We were also able to get info about each pokemon through the PokeAPI.

Challenges we ran into

We couldn't find a solution to keep the bot running, the only way we were able to keep the bot going is putting the function in a while loop and keep the program running on our computer.

Accomplishments that we're proud of

Being able to download the image from the Pokemon API and tweeting it back to the user. Being able to obtain the birthday from the user's tweet.

What we learned

We learned more about Python and how to use API's. We also learned how to use the Twitter API more.

What's next for PokeFind

Finding a way to keep the bot running, by using cloud solutions.

Built With

Share this project:

Updates