Inspiration

Random creativity and personal amusement

What it does

There is a twitter bot and a website. Every five hours the twitter bot finds a rainy city out of over 200,000 cities on earth, and tweets a rain warning for that place. The website generates a new rain advisory for a rainy city on every refresh

How I built it

We used python and the OpenWeatherMap API. The twitter bot uses tweepy, and the website uses Flask and Bootstrap. Both projects are dockerized and hosted serverlessly on Google Cloud Run

Challenges I ran into

Learning Flask, learning docker, front-end trial and error, learning which cloud service would be best for the two projects.

Accomplishments that I'm proud of

We finished our project so quickly we made another one.

What I learned

  • How to build and deploy with docker, and why I might want to do that.
  • How to make quick websites with Flask
  • How to consume APIs with and without a client library.

What's next for Where's It Raining?

A running bot account and website providing the world's most useful weather information.

Code

Webstie Twitter Bot Both will only be public for a week.

note: We were unable to make a video demo but the site is interactive and the twitter bot is self explanatory.

Share this project:

Updates