Site
Home / Forum / Developers / Sample data for "TV Events on a day" API

Sample data for "TV Events on a day" API


Posted: 09 Jan 2022 12:13
vstb
Posts: 3
Joined: 2022-01-09

Hi, the API "TV Events on a day" is limited to Patreon users only.
Can you please provide a a JSON schema/sample data of a success response, so it doesn't stop development, until we get the Patreon subscription?
Thanks

Posted: 09 Jan 2022 13:24

zag
Posts: 3,327
Joined: 2020-03-23

Hi, the API "TV Events on a day" is limited to Patreon users only.
Can you please provide a a JSON schema/sample data of a success response, so it doesn't stop development, until we get the Patreon subscription?
Thanks


Sure here you go:

{
"tvevents": [
{
"id": "2654",
"idEvent": "577216",
"strSport": "Cycling",
"strEvent": "Tour de France - Stage 1",
"idChannel": "7447",
"strCountry": "Portugal",
"strLogo": "https://www.thesportsdb.com/images/media/logo/wuyqur1434267176.png",
"strChannel": "Eurosport 1",
"strSeason": "2018",
"strTime": "00:00:00",
"dateEvent": "2018-07-07",
"strTimeStamp": null
},
{
"id": "2655",
"idEvent": "577216",
"strSport": "Cycling",
"strEvent": "Tour de France - Stage 1",
"idChannel": "2247",
"strCountry": "France",
"strLogo": "https://www.thesportsdb.com/images/media/logo/tutyvx1474667310.png",
"strChannel": "Eurosport",
"strSeason": "2018",
"strTime": "00:00:00",
"dateEvent": "2018-07-07",
"strTimeStamp": null
},
{
"id": "2734",
"idEvent": "570073",
"strSport": "Fighting",
"strEvent": " UFC 226: Miocic vs. Cormier",
"idChannel": "4487",
"strCountry": "United States",
"strLogo": "https://www.thesportsdb.com/images/media/logo/rysypx1472104075.png",
"strChannel": "UFC Network",
"strSeason": "2018",
"strTime": "00:00:00",
"dateEvent": "2018-07-07",
"strTimeStamp": null
},
{
"id": "3161",
"idEvent": "584324",
"strSport": "Fighting",
"strEvent": "G1 Special in San Francisco",
"idChannel": "5234",
"strCountry": "United States",
"strLogo": "",
"strChannel": "AXS TV",
"strSeason": "2018",
"strTime": "00:00:00",
"dateEvent": "2018-07-07",
"strTimeStamp": null
},
{
"id": "849",
"idEvent": "530700",
"strSport": "Motorsport",
"strEvent": "New York ePrix Race 1",
"idChannel": "6374",
"strCountry": "United Kingdom",
"strLogo": "https://www.thesportsdb.com/images/media/logo/ytqsvp1473541464.png",
"strChannel": "Channel 5 HD",
"strSeason": "1718",
"strTime": "",
"dateEvent": "2018-07-07",
"strTimeStamp": null
},
{
"id": "860",
"idEvent": "530700",
"strSport": "Motorsport",
"strEvent": "New York ePrix Race 1",
"idChannel": "6512",
"strCountry": "United Kingdom",
"strLogo": "https://www.thesportsdb.com/images/media/logo/xtuusr1474667321.png",
"strChannel": "Eurosport HD",
"strSeason": "1718",
"strTime": "",
"dateEvent": "2018-07-07",
"strTimeStamp": null
},
{
"id": "2074",
"idEvent": "573522",
"strSport": "Motorsport",
"strEvent": "Coke Zero 400 powered by Coca-Cola",
"idChannel": "6958",
"strCountry": "United States",
"strLogo": "https://www.thesportsdb.com/images/media/logo/wyxwxu1434505582.png",
"strChannel": "NBC",
"strSeason": "2018",
"strTime": "",
"dateEvent": "2018-07-07",
"strTimeStamp": null
},
{
"id": "2639",
"idEvent": "576850",
"strSport": "Soccer",
"strEvent": "Russia vs Croatia",
"idChannel": "2997",
"strCountry": "Spain",
"strLogo": "https://www.thesportsdb.com/images/media/logo/wptuww1441658169.png",
"strChannel": "Telecinco",
"strSeason": "2018",
"strTime": "21:00:00",
"dateEvent": "2018-07-07",
"strTimeStamp": null
},
{
"id": "2641",
"idEvent": "576856",
"strSport": "Soccer",
"strEvent": "Sweden vs England",
"idChannel": "2997",
"strCountry": "Spain",
"strLogo": "https://www.thesportsdb.com/images/media/logo/wptuww1441658169.png",
"strChannel": "Telecinco",
"strSeason": "2018",
"strTime": "18:00:00",
"dateEvent": "2018-07-07",
"strTimeStamp": null
}
]
}

Posted: 09 Jan 2022 15:28
vstb
Posts: 3
Joined: 2022-01-09

Thanks. I see that there are two ids, "id" and "idEvent".
What are the differences between the two?

Posted: 12 Jan 2022 11:41

zag
Posts: 3,327
Joined: 2020-03-23

"id" is just an internal id for the tv schedual


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 4 (Total: 4)