Skip to content

Instantly share code, notes, and snippets.

@PotatoCurry
PotatoCurry / weather-rpc.py
Last active May 15, 2021 20:02 — forked from dotcomboom/weather-rpc.py
Discord Weather RPC
import os
import time
import requests
from pypresence import Presence
def main():
API_KEY = os.environ["WEATHERBIT_API_KEY"] # get a key at https://www.weatherbit.io/account/create
CLIENT_ID = 704435320808276108