Added Services thanks to guilara
This commit is contained in:
parent
cb547d2fde
commit
889209fe3d
1015
ADN/__init__.py
Normal file
1015
ADN/__init__.py
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ADN/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
ADN/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
29
ADN/config.yaml
Normal file
29
ADN/config.yaml
Normal 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"
|
||||
Loading…
Reference in New Issue
Block a user