This commit is contained in:
Yûki VACHOT 2021-10-18 08:38:41 +02:00
parent ce6ffcf1c9
commit 83892c465f
2 changed files with 57 additions and 18 deletions

View file

@ -2,12 +2,16 @@
INDENT = 4
# API URL
BASE_API_URL = 'https://api.meteo-concept.com/api/'
API_TOKEN = '?token='
API_SEARCH = '&search='
API_INSEE = '&insee='
API_LOCATION_CITIES = 'https://api.meteo-concept.com/api/location/cities'
API_LOCATION_CITY = 'https://api.meteo-concept.com/api/location/city'
API_EPHEMERIDE = 'https://api.meteo-concept.com/api/ephemeride/1'
API_LOCATION_CITIES = BASE_API_URL + 'location/cities'
API_LOCATION_CITY = BASE_API_URL + 'location/city'
API_EPHEMERIDE = BASE_API_URL + 'ephemeride/1'
API_OBSERVATIONS_AROUND = BASE_API_URL + 'observations/around'
# STATIC VARIABLES
WINDDIRS = [