curl --request GET \
--url https://sandbox.api.fantasyfutbol.app/v1/fantasy-league \
--header 'x-api-key: <api-key>'{
"statusCode": 123,
"message": "<string>",
"data": [
{
"id": 123,
"name": "<string>",
"is_active": true,
"logo_url": "<string>",
"leagues": [
{
"id": 123,
"name": "<string>",
"type": "<string>",
"year": 123,
"is_active": true,
"country": "<string>",
"continent": "<string>",
"season": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
],
"squad_config": {},
"points_config": {},
"current_game_week": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"week": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
},
"next_game_week": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"week": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
}
}
]
}curl --request GET \
--url https://sandbox.api.fantasyfutbol.app/v1/fantasy-league \
--header 'x-api-key: <api-key>'{
"statusCode": 123,
"message": "<string>",
"data": [
{
"id": 123,
"name": "<string>",
"is_active": true,
"logo_url": "<string>",
"leagues": [
{
"id": 123,
"name": "<string>",
"type": "<string>",
"year": 123,
"is_active": true,
"country": "<string>",
"continent": "<string>",
"season": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
],
"squad_config": {},
"points_config": {},
"current_game_week": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"week": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
},
"next_game_week": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"week": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
}
}
]
}