Site
Home / Forum / Developers / [patreon] Support on Live Soccer API

[patreon] Support on Live Soccer API


Posted: 07 Feb 2020 14:22

zag


Posts: 3,515
Joined: 2020

Hi,
I'm facing an issue with the Live Soccer API. Actually the response is always showing a single match with very poor info compared to the NBA or Golf endpoints. Below an example from postman.


{
"_internal": {
"pubDateTime": "2020-02-07 04:10:27.143 EST",
"igorPath": "S3,1581066613673,1581066619976|router,1581066619976,1581066619981|sqlUpdateProcessor,1581066620115,1581066620715|domUpdater,1581066621030,1581066626862|feedProducer,1581066626937,1581066627898",
"routeName": "lp_game_video_flag_checker",
"routeValue": "S3::ssd_game_video_update.xml",
"xslt": "NBA/xsl/date/scoreboard/marty_daily_scoreboard.xsl",
"xsltForceRecompile": "true",
"xsltInCache": "false",
"xsltCompileTimeMillis": "185",
"xsltTransformTimeMillis": "47",
"consolidatedDomKey": "prod__transform__marty_daily_scoreboard__1361674987156",
"endToEndTimeMillis": "14225"
},
"numGames": 5,
"games": [
{
"seasonStageId": 2,
"seasonYear": "2019",
"leagueName": "standard",
"gameId": "0021900764",
"arena": {
"name": "Madison Square Garden",
"isDomestic": true,
"city": "New York",
"stateAbbr": "NY",
"country": "USA"
},
"isGameActivated": false,
"statusNum": 3,
"extendedStatusNum": 0,
"startTimeEastern": "7:30 PM ET",
"startTimeUTC": "2020-02-07T00:30:00.000Z",
"endTimeUTC": "2020-02-07T02:54:00.000Z",
"startDateEastern": "20200206",
"homeStartDate": "20200206",
"homeStartTime": "1930",
"visitorStartDate": "20200206",
"visitorStartTime": "1930",
"gameUrlCode": "20200206/ORLNYK",
"clock": "",
"isBuzzerBeater": false,
"isPreviewArticleAvail": true,
"isRecapArticleAvail": true,
"nugget": {
"text": "Payton: 15 points, 9 assists, 7 steals"
},
"attendance": "18895",
"tickets": {
"mobileApp": "https://a.data.nba.com/tickets/single/2019/0021900764/APP_TIX",
"desktopWeb": "https://a.data.nba.com/tickets/single/2019/0021900764/TEAM_SCH",
"mobileWeb": "https://a.data.nba.com/tickets/single/2019/0021900764/WEB_MWEB",
"leagGameInfo": "https://a.data.nba.com/tickets/single/2019/0021900764/LEAG_GAMEINFO",
"leagTix": "https://a.data.nba.com/tickets/single/2019/0021900764/LEAG_TIX"
},
"hasGameBookPdf": true,
"isStartTimeTBD": false,
"gameDuration": {
"hours": "2",
"minutes": "11"
},
"period": {
"current": 4,
"type": 0,
"maxRegular": 4,
"isHalftime": false,
"isEndOfPeriod": false
},
"vTeam": {
"teamId": "1610612753",
"triCode": "ORL",
"win": "22",
"loss": "30",
"seriesWin": "1",
"seriesLoss": "1",
"score": "103",
"linescore": [
{
"score": "19"
},
{
"score": "28"
},
{
"score": "36"
},
{
"score": "20"
}
]
},
"hTeam": {
"teamId": "1610612752",
"triCode": "NYK",
"win": "16",
"loss": "36",
"seriesWin": "1",
"seriesLoss": "1",
"score": "105",
"linescore": [
{
"score": "30"
},
{
"score": "24"
},
{
"score": "22"
},
{
"score": "29"
}
]
},
"watch": {
"broadcast": {
"broadcasters": {
"national": [],
"canadian": [
{
"shortName": "NBAC",
"longName": "NBA TV Canada"
}
],
"vTeam": [
{
"shortName": "FSFL",
"longName": "Fox Sports Florida"
}
],
"hTeam": [
{
"shortName": "MSG",
"longName": "MSG"
}
],
"spanish_hTeam": [],
"spanish_vTeam": [],
"spanish_national": []
},
"video": {
"regionalBlackoutCodes": "torr_nykr_orlr",
"canPurchase": true,
"isLeaguePass": true,
"isNationalBlackout": false,
"isTNTOT": false,
"isVR": false,
"tntotIsOnAir": false,
"isNextVR": false,
"isNBAOnTNTVR": false,
"isMagicLeap": false,
"isOculusVenues": false,
"streams": [
{
"streamType": "vTeam",
"isOnAir": false,
"doesArchiveExist": true,
"isArchiveAvailToWatch": true,
"streamId": "100219007641220",
"duration": 0
},
{
"streamType": "hTeam",
"isOnAir": false,
"doesArchiveExist": true,
"isArchiveAvailToWatch": true,
"streamId": "100219007641120",
"duration": 0
},
{
"streamType": "espanol_vTeam",
"isOnAir": false,
"doesArchiveExist": false,
"isArchiveAvailToWatch": false,
"streamId": "",
"duration": 0
},
{
"streamType": "espanol_hTeam",
"isOnAir": false,
"doesArchiveExist": false,
"isArchiveAvailToWatch": false,
"streamId": "",
"duration": 0
},
{
"streamType": "espanol_natl",
"isOnAir": false,
"doesArchiveExist": false,
"isArchiveAvailToWatch": false,
"streamId": "",
"duration": 0
},
{
"streamType": "mobile",
"isOnAir": false,
"doesArchiveExist": true,
"isArchiveAvailToWatch": true,
"streamId": "100219007641320",
"duration": 0
},
{
"streamType": "condensed",
"isOnAir": false,
"doesArchiveExist": true,
"isArchiveAvailToWatch": true,
"streamId": "100219007641030",
"duration": 0
},
{
"streamType": "alt",
"isOnAir": false,
"doesArchiveExist": false,
"isArchiveAvailToWatch": false,
"streamId": "",
"duration": 0
}
],
"deepLink": [
{
"broadcaster": "MSG",
"regionalMarketCodes": "nykr",
"iosApp": "http://www.msggo.com/",
"androidApp": "http://www.msggo.com/",
"desktopWeb": "http://www.msggo.com/",
"mobileWeb": "http://www.msggo.com/"
}
]
},
"audio": {
"national": {
"streams": [
{
"language": "English",
"isOnAir": false,
"streamId": ""
},
{
"language": "Spanish",
"isOnAir": false,
"streamId": ""
}
],
"broadcasters": []
},
"vTeam": {
"streams": [
{
"language": "English",
"isOnAir": true,
"streamId": "100219007642211"
},
{
"language": "Spanish",
"isOnAir": true,
"streamId": "100219007642212"
}
],
"broadcasters": [
{
"shortName": "96.9 FM THE GAME / 98.1 SALSA Y MAS",
"longName": "96.9 FM THE GAME / 98.1 SALSA Y MAS"
}
]
},
"hTeam": {
"streams": [
{
"language": "English",
"isOnAir": true,
"streamId": "100219007642111"
},
{
"language": "Spanish",
"isOnAir": false,
"streamId": ""
}
],
"broadcasters": [
{
"shortName": "ESPN NY 98.7",
"longName": "ESPN NY 98.7"
}
]
}
}
}
}
},

....


Any suggestion?

Posted: 07 Feb 2020 14:33

zag


Posts: 3,515
Joined: 2020

Same answer as in the other thread, wait for the event to begin. The data should expand when its in play.

If you want even more info such as artwork or tv schedules or video highlights, you can lookup the event on our API through the schedules.


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 2 (Total: 2)