Teams by Country
GET
The Teams by Country ID endpoint returns a list of teams from a specific country
Description
Headers | application/json |
Endpoint Example | https://api.sportdatastreamapi.com/teams/?user=USERNAME&token=TOKEN&t=list&country_id=COUNTRY_ID |
Endpoint | https://api.sportdatastreamapi.com/teams/?user=null&token=null&t=list&country_id=4 |
Paginated | Yes, 100 per page |
Example Response
{
"data": [
{
"id": 98,
"name": "Borussia Dortmund",
"country_id": 4,
},
{
"id": 101,
"name": "RB Leipzig",
"country_id": 4,
},
{
"id": 111,
"name": "FC Bayern Munich",
"country_id": 4,
},
{
"id": 114,
"name": "Bayer 04 Leverkusen",
"country_id": 4,
},
{
"id": 1108,
"name": "1. Goppinger SV",
"country_id": 4,
},
{
"id": 1109,
"name": "FC 08 Villingen",
"country_id": 4,
},
{
"id": 1110,
"name": "FV Ravensburg",
"country_id": 4,
},
{
"id": 1111,
"name": "Stuttgarter Kickers",
"country_id": 4,
},
{
"id": 1112,
"name": "SSV Reutlingen 1905",
"country_id": 4,
},
{
"id": 1113,
"name": "SV Oberachern",
"country_id": 4,
},
{
"id": 1114,
"name": "FSV 08 Bissingen",
"country_id": 4,
},
{
"id": 1115,
"name": "SV Sandhausen II",
"country_id": 4,
},
{
"id": 1116,
"name": "Neckarsulm",
"country_id": 4,
},
{
"id": 1119,
"name": "SGV Freiberg",
"country_id": 4,
},
{
"id": 1120,
"name": "VfB Stuttgart II",
"country_id": 4,
},
{
"id": 1121,
"name": "FC Nottingen",
"country_id": 4,
},
{
"id": 1122,
"name": "Freiburger FC",
"country_id": 4,
},
{
"id": 1123,
"name": "1. FC Pforzheim 1896",
"country_id": 4,
},
{
"id": 1124,
"name": "1. FC Rielasingen-Arlen",
"country_id": 4,
},
{
"id": 1128,
"name": "FC Strausberg",
"country_id": 4,
},
],
}