m0tzoinkyphat
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| m0tzoinkyphat [2022/07/27 18:14] – created m0tzo | m0tzoinkyphat [2024/04/23 22:33] (current) – m0tzo | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| PATH = os.path.dirname(__file__) | PATH = os.path.dirname(__file__) | ||
| - | API_URL = ' | + | API_URL = ' |
| # Fetching the data from the API | # Fetching the data from the API | ||
| Line 22: | Line 22: | ||
| resp = requests.get(API_URL, | resp = requests.get(API_URL, | ||
| data = resp.json() | data = resp.json() | ||
| - | TODAY_TEXT = " | + | TODAY_TEXT = " |
| - | TOTAL_TEXT = " | + | |
| - | MONTH_TEXT = " | + | MONTH_TEXT = " |
| - | YEAR_TEXT | + | YEAR_TEXT = "Year: {:, |
| + | |||
| + | # | ||
| + | # TOTAL_TEXT = " | ||
| + | # MONTH_TEXT = " | ||
| + | # YEAR_TEXT | ||
| except Exception as e: | except Exception as e: | ||
m0tzoinkyphat.1658945679.txt.gz · Last modified: by m0tzo
