2025-08-02 22:37:17 +02:00
|
|
|
AUTH_BASE_URL = "https://auth.anny.eu"
|
|
|
|
|
ANNY_BASE_URL = "https://anny.eu"
|
|
|
|
|
BOOKING_API_BASE = "https://b.anny.eu/api/v1"
|
|
|
|
|
CHECKOUT_FORM_API = "https://b.anny.eu/api/ui/checkout-form"
|
|
|
|
|
RESOURCE_URL = f"{BOOKING_API_BASE}/resources/1-lehrbuchsammlung-eg-und-1-og/children"
|
2026-02-02 13:21:04 +01:00
|
|
|
SERVICE_ID = "601"
|
|
|
|
|
# SERVICE_ID = "449"
|
2026-01-23 09:03:20 +01:00
|
|
|
RESOURCE_ID = None # "5957" # Will be set dynamically if None, else use the given ID
|
2026-02-02 13:21:04 +01:00
|
|
|
RESOURCE_ID =15994
|
2026-01-22 16:17:05 +01:00
|
|
|
TIMEZONE = "Europe/Berlin"
|
2026-02-02 13:21:04 +01:00
|
|
|
# SSO_PROVIDER = "kit" # Available: kit (add more in auth/providers/)
|
|
|
|
|
SSO_PROVIDER = "tum" # Available: kit (add more in auth/providers/)
|
2025-08-02 22:37:17 +02:00
|
|
|
|
|
|
|
|
DEFAULT_HEADERS = {
|
|
|
|
|
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0',
|
|
|
|
|
'accept': 'application/vnd.api+json',
|
|
|
|
|
'accept-encoding': 'plain'
|
2026-01-30 18:28:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Booking time slots (in order of priority)
|
|
|
|
|
BOOKING_TIMES = [
|
|
|
|
|
{
|
2026-02-05 01:32:36 +01:00
|
|
|
'start': '08:00:00',
|
|
|
|
|
'end': '09:00:00'
|
2026-01-30 18:28:49 +01:00
|
|
|
},
|
2026-02-05 01:32:36 +01:00
|
|
|
# {
|
|
|
|
|
# 'start': '12:00:00',
|
|
|
|
|
# 'end': '22:00:00'
|
|
|
|
|
# },
|
|
|
|
|
|
2026-02-02 13:21:04 +01:00
|
|
|
# {
|
|
|
|
|
# 'start': '22:30:00',
|
|
|
|
|
# 'end': '23:30:00'
|
|
|
|
|
# },
|
|
|
|
|
# {
|
|
|
|
|
# 'start': '09:00:00',
|
|
|
|
|
# 'end': '13:00:00'
|
|
|
|
|
# },
|
|
|
|
|
# {
|
|
|
|
|
# 'start': '20:00:00',
|
|
|
|
|
# 'end': '23:45:00'
|
|
|
|
|
# },
|
2026-01-30 18:28:49 +01:00
|
|
|
]
|