Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 749 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 749 Bytes

Twitter Weather updater

Add some weather info to your Twitter profile!

This is a little Go program I built to learn more about Go's syntax.

It grabs current weather information from the https://openweathermap.org/ API and updates your Twitter display name with a little emoji representation of the current weather 🌦.

It's more of a proof of concept at this point, but it works well.

How to run:

  1. Sign up for a free account at https://openweathermap.org/ and get an AppID
  2. Create a Twitter app and grab your authentication info. This might take a while since Twitter apps require review(😬)
  3. Update the .env file with these credentials

To run:

go run main.go