Kheys
410
modifications
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 = | 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) |