21 lines
696 B
Python
21 lines
696 B
Python
# Configuratie bestand voor de Adhaan applicatie
|
|
|
|
# OpenWeatherMap API configuratie
|
|
# Verkrijg een gratis API key op: https://openweathermap.org/api
|
|
OPENWEATHER_API_KEY = '99caf7628fd7197acd71df3fc2cafbdb'
|
|
|
|
# Locatie voor weersinformatie
|
|
WEATHER_LOCATION = 'Amsterdam,NL'
|
|
|
|
# Sonos API configuratie
|
|
SONOS_API_IP = '192.168.0.114'
|
|
|
|
# VUMG API voor gebedstijden
|
|
VUMG_API_URL = 'https://www.vumg.nl/?rest_route=/dpt/v1/prayertime&filter=today'
|
|
|
|
# Bestandspaden
|
|
import os
|
|
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
SETTINGS_PATH = os.path.join(BASE_DIR, 'settings.json')
|
|
HADITHS_PATH = os.path.join(BASE_DIR, 'static', 'hadiths.json')
|
|
CLIPS_PATH = os.path.join(BASE_DIR, 'static', 'clips') |