/DiscordWeather

Script that uses RPC to display current weather information on given city.

Primary LanguagePython

Discord Weather RPC Script

Installation

# clone the repo
git clone https://github.com/allistairhakim/DiscordWeather.git

# change the working directory
cd DiscordWeather

# install the required modules
py -m pip install -r requirements.txt

Usage

  1. Get Free OpenWeatherMap API key
  2. Create an account at OpenWeatherMap
  3. Under the API tab subscribe to Current Weather Data
  4. Grab your API key in the tab called My API Keys under your username at the top
  5. Open discordweather.py in an IDE of your choice
  6. Paste your API key into the variable API_KEY
  7. Change the CITY, COUNTRY_CODE, and UNIT_SYSTEM according to your needs
  8. Run program

Contributing

Feel free to contribute!

pypresence