[RELEASE] GameTime - Pro & College Sports Schedules Integration

Good to know.

Looks like they provide the WNBA API, but it is significantly leaner than other leagues. I've fixed the error in the latest version. The consequence is that you will not be able to show the team record in the WNBA. But the other data should be there. Let me know if it looks good to you.

I added more teams last night and got a couple errors in the logs. But they did not recur in the midnight update, so it may have been a transient thing:

I also noticed that none of my college instances have any scheduled jobs. I wasn’t sure if it was related:

The midnight update wouldn't have fixed those. Is app 1678 for a college team? What league? (this will be an easy fix btw)

Yes, app 1678 is for a college team. I see the same set of errors for all 3 CFB instances I created.

Ah, CFB. Sportsdata apparently does not believe in consistency across their APIs for different leagues :neutral_face:

Hahaha, I feel your pain. Why would they make it easy? That would ruin all the fun!

Ok just updated with the fix. I haven't tested personally but I'm sure it will work. Please let me know

I don’t know how I failed to notice you had a packageManifest.json file. I had been manually updating each file :man_facepalming:t2:

I deleted everything and reinstalled through HPM, but now I’m getting a new set of errors for each of the CFB instances:

Hm. I know what has caused that, but not sure why. In any event, I reverted the one change that caused it. You can update via HPM and it will be fixed. I'll figure out the other change in the next release.

I think the issue is with fetchTeamSchedule in the College Instance App. I can’t find an endpoint in SportsDataIO's NCAA Football API for scores/json/TeamSchedule. When I make a call manually in the browser, I get a similar error:

{ "statusCode": 404, "message": "Resource not found" }

This may be another case where SportsDataIO has inconsistency across their APIs.

Yup. You're right. I'll fix it as soon as I get a chance. At least it's not football season yet. Good to be testing it before it's gametime!

Updated app to fix this issue. Will hopefully have some time soon to fix issues with pending games and to add features for showing the last played game.

Working better! I’m starting to see data for some of the college teams, although I’m still seeing errors in the logs.

Sorry I didn't test before I uploaded last. I fixed these errors now and have things showing properly for my college football team. Let me know if that looks better on your end too.

EDIT: I wasn't able to recreate the error with the 'school' property. But I'm wondering if the other fixes address that. Let me know if you still have that error after the update.

Something changed and the WNBA tile is now blank. Where a couple of days ago it was showing the game this coming Saturday 5/15.

image
image

Do you have any errors in the log?

I am not seeing any errors. I just did another install for another team. It is showing no game scheduled but they have a game this Saturday against the storm which is the one I wanted. Here are the logs:

app:17142021-05-12 09:48:43.340 am warnNo upcoming schedule for Las Vegas Aces in WNBA
app:17142021-05-12 09:48:43.232 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/Games/2021PRE, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]
app:17142021-05-12 09:48:42.938 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/teams, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]
app:17142021-05-12 09:48:42.859 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/CurrentSeason, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]
app:17142021-05-12 09:48:41.913 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/teams, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]
app:17142021-05-12 09:48:41.732 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/CurrentSeason, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]
app:17142021-05-12 09:48:32.382 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/teams, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]
app:17142021-05-12 09:48:32.280 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/CurrentSeason, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]
app:17142021-05-12 09:48:23.983 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/teams, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]
app:17142021-05-12 09:48:23.881 am debugApi Call: [uri:https://fly.sportsdata.io/, path:v3/wnba/scores/json/CurrentSeason, contentType:application/json, query:[key:21f1316f45fc4062aef9d77dd53369fc], timeout:300]

I'll have to request a key for the WNBA from sportsdata.io then. Must be something about the actual data being returned.

I am not much of a baseball fan, more of MLS and NFL but wanted to test it out in prep for NFL to start up and in hopes of MSL to be added. Thank you for your work.

Ah ok. I recommend testing with MLB or NBA then. Those APIs are more similar to the NFL than the WNBA API. The WNBA API is very limited and is going to require special coding specific to it.