Aller au contenu

« Documentation de l'API Jeuxvideo.com » : différence entre les versions

m
Ligne 773 : Ligne 773 :
from requests import Response
from requests import Response


def call(path: str, method: str = 'GET', query: dict = None, data: dict = None, cookies: dict = cookies) -> Response:
def call(path: str, method: str = 'GET', query: dict = None, data: dict = None, cookies: dict = None) -> Response:
     url = f"https://{DOMAIN}/v{API_VERSION}/{path}"
     url = f"https://{DOMAIN}/v{API_VERSION}/{path}"
     jv_auth = auth_header(path, method=method, query=query)
     jv_auth = auth_header(path, method=method, query=query)
Kheys
410

modifications