curl --request GET \
--url https://sandbox.api.fantasyfutbol.app/v1/fantasy-league{
"statusCode": 200,
"message": "Fantasy leagues retrieved",
"data": [
{
"id": 123,
"name": "<string>",
"is_active": true,
"logo_url": "<string>",
"leagues": [
{
"id": 123,
"name": "<string>",
"type": "<string>",
"year": "<string>",
"season": "<string>",
"country": "<string>",
"end_date": "2023-12-25",
"continent": "<string>",
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"start_date": "2023-11-07T05:31:56Z"
}
],
"squad_config": {
"id": "<string>",
"formation": "<string>",
"league_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"classification": "<string>",
"required_bench": 123,
"price_multiplier": 123,
"required_players": 123,
"required_forwards": 123,
"required_defenders": 123,
"maximum_price_entry": 123,
"minimum_price_entry": 123,
"price_fall_multiple": 123,
"price_rise_multiple": 123,
"default_squad_budget": 123,
"max_players_per_team": 123,
"max_transfers_per_gw": 123,
"price_entry_multiple": 123,
"required_goalkeepers": 123,
"required_midfielders": 123,
"required_starting_squad": 123,
"default_starting_forwards": 123,
"minimum_starting_forwards": 123,
"default_starting_defenders": 123,
"minimum_starting_defenders": 123,
"default_starting_goalkeepers": 123,
"default_starting_midfielders": 123,
"minimum_starting_goalkeepers": 123,
"minimum_starting_midfielders": 123
},
"points_config": {
"id": "<string>",
"league_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_in_points": 123,
"bencher_points": 123,
"starter_points": 123,
"sub_out_points": 123,
"goal_save_ratio": 123,
"own_goal_points": 123,
"red_card_points": 123,
"goal_save_points": 123,
"yellow_card_points": 123,
"forward_goal_points": 123,
"penalty_miss_points": 123,
"penalty_save_points": 123,
"defender_goal_points": 123,
"forward_assist_points": 123,
"minutes_played_points": 123,
"defender_assist_points": 123,
"forward_concede_points": 123,
"goalkeeper_goal_points": 123,
"midfielder_goal_points": 123,
"defender_concede_points": 123,
"goalkeeper_assist_points": 123,
"midfielder_assist_points": 123,
"goalkeeper_concede_points": 123,
"midfielder_concede_points": 123,
"forward_clean_sheet_points": 123,
"defender_clean_sheet_points": 123,
"forward_goal_concede_points": 123,
"defender_goal_concede_points": 123,
"goalkeeper_clean_sheet_points": 123,
"midfielder_clean_sheet_points": 123,
"goalkeeper_goal_concede_points": 123,
"midfielder_goal_concede_points": 123,
"clean_sheet_eligibility_minutes": 123,
"time_onfield_eligibility_minutes": 123
},
"current_game_week": {
"id": "<string>",
"week": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
},
"next_game_week": {
"id": "<string>",
"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{
"statusCode": 200,
"message": "Fantasy leagues retrieved",
"data": [
{
"id": 123,
"name": "<string>",
"is_active": true,
"logo_url": "<string>",
"leagues": [
{
"id": 123,
"name": "<string>",
"type": "<string>",
"year": "<string>",
"season": "<string>",
"country": "<string>",
"end_date": "2023-12-25",
"continent": "<string>",
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"start_date": "2023-11-07T05:31:56Z"
}
],
"squad_config": {
"id": "<string>",
"formation": "<string>",
"league_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"classification": "<string>",
"required_bench": 123,
"price_multiplier": 123,
"required_players": 123,
"required_forwards": 123,
"required_defenders": 123,
"maximum_price_entry": 123,
"minimum_price_entry": 123,
"price_fall_multiple": 123,
"price_rise_multiple": 123,
"default_squad_budget": 123,
"max_players_per_team": 123,
"max_transfers_per_gw": 123,
"price_entry_multiple": 123,
"required_goalkeepers": 123,
"required_midfielders": 123,
"required_starting_squad": 123,
"default_starting_forwards": 123,
"minimum_starting_forwards": 123,
"default_starting_defenders": 123,
"minimum_starting_defenders": 123,
"default_starting_goalkeepers": 123,
"default_starting_midfielders": 123,
"minimum_starting_goalkeepers": 123,
"minimum_starting_midfielders": 123
},
"points_config": {
"id": "<string>",
"league_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_in_points": 123,
"bencher_points": 123,
"starter_points": 123,
"sub_out_points": 123,
"goal_save_ratio": 123,
"own_goal_points": 123,
"red_card_points": 123,
"goal_save_points": 123,
"yellow_card_points": 123,
"forward_goal_points": 123,
"penalty_miss_points": 123,
"penalty_save_points": 123,
"defender_goal_points": 123,
"forward_assist_points": 123,
"minutes_played_points": 123,
"defender_assist_points": 123,
"forward_concede_points": 123,
"goalkeeper_goal_points": 123,
"midfielder_goal_points": 123,
"defender_concede_points": 123,
"goalkeeper_assist_points": 123,
"midfielder_assist_points": 123,
"goalkeeper_concede_points": 123,
"midfielder_concede_points": 123,
"forward_clean_sheet_points": 123,
"defender_clean_sheet_points": 123,
"forward_goal_concede_points": 123,
"defender_goal_concede_points": 123,
"goalkeeper_clean_sheet_points": 123,
"midfielder_clean_sheet_points": 123,
"goalkeeper_goal_concede_points": 123,
"midfielder_goal_concede_points": 123,
"clean_sheet_eligibility_minutes": 123,
"time_onfield_eligibility_minutes": 123
},
"current_game_week": {
"id": "<string>",
"week": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
},
"next_game_week": {
"id": "<string>",
"week": "<string>",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
}
}
]
}