Python
Generate the Python client from the public OpenAPI schema:
npx @openapitools/openapi-generator-cli generate \ -i https://futpicks.com/api/v1/openapi/v1.json \ -g python \ -o ./clients/python/generatedMinimal request example
Section titled “Minimal request example”import requests
token = "..."response = requests.get( "https://futpicks.com/api/v1/data/catalog", headers={"Authorization": f"Bearer {token}", "Accept": "application/json"}, timeout=15,)response.raise_for_status()print(response.json())