Country by ID
GET
The Get Country By Id Endpoint gives you data from a specific country like Name, Flag, IsoCode, Continent and other related Country data.
Description
Headers | application/json |
Endpoint Example | https://api.sportdatastreamapi.com/countries/?user=USERNAME&token=TOKEN&t=info&id=4 |
Endpoint | https://api.sportdatastreamapi.com/countries/?user=null&token=null&t=info&id=COUNTRY_ID |
Paginated |
Example Response
{
"data": {
"id": 4,
"name": "Germany",
"continent": "Europe",
"sub_region": null,
"long": null,
"lat": null,
"img": "https://api.sportdatastreamapi.com/images/countries/30/de.png",
"code": "de",
},
}