Added Services thanks to guilara

This commit is contained in:
Mike 2026-01-19 08:17:05 +02:00
parent cb547d2fde
commit 889209fe3d
3 changed files with 1044 additions and 0 deletions

1015
ADN/__init__.py Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

29
ADN/config.yaml Normal file
View File

@ -0,0 +1,29 @@
# Animation Digital Network API Configuration
# Endpoints API
endpoints:
# Authentification
login: "https://gw.api.animationdigitalnetwork.com/authentication/login"
refresh: "https://gw.api.animationdigitalnetwork.com/authentication/refresh"
# Catalogue
search: "https://gw.api.animationdigitalnetwork.com/show/catalog"
show: "https://gw.api.animationdigitalnetwork.com/video/show/{show_id}?maxAgeCategory=18&limit=-1&order=asc"
seasons: "https://gw.api.animationdigitalnetwork.com/video/show/{show_id}/seasons?maxAgeCategory=18&order=asc"
# Player & Lecture
player_config: "https://gw.api.animationdigitalnetwork.com/player/video/{video_id}/configuration"
player_refresh: "https://gw.api.animationdigitalnetwork.com/player/refresh/token"
player_links: "https://gw.api.animationdigitalnetwork.com/player/video/{video_id}/link"
# Headers par défaut
headers:
User-Agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
Origin: "https://animationdigitalnetwork.com"
Referer: "https://animationdigitalnetwork.com/"
Content-Type: "application/json"
X-Target-Distribution: "fr"
# Paramètres
params:
locale: "fr"