| | Posted: 02 Jan 2024 04:03 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | The NFL (and perhaps other leagues) flexes its game schedule later in the season but I notice that is not reflected in the data I fetch from the endpoint
| |
|
| | Posted: 02 Jan 2024 09:23 | |
curswine
Posts: 938 Joined: 2020
| | What do you mean by 'the NFL flexes'?
There's still another round of games to be played in the NFL and then playoff matches will hopefully be added automatically once they are known.
| |
|
| | Posted: 04 Jan 2024 04:15 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | By flex I mean the games are already scheduled but they get changed later in the season. The Colts vs Texans and Ravens vs Steelers shows as 1/7/24 but the NFL changed the games to 1/6/24. Also there are inconsistencies in the times of the a lot of the games in both the strTime and strTimeLocal.
| |
|
| | Posted: 04 Jan 2024 06:14 | |
curswine
Posts: 938 Joined: 2020
| | Hi, game dates are something which get updated automatically, so we just need to wait until the system adjusts those and the times are a knock on effect.
Hopefully they will be updated soon and I'll update the local times once they are.
| |
|
| | Posted: 04 Jan 2024 20:29 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | I really appreciate that. If that is something you guys are looking for in an editor we can discuss it too. My site will depend pretty heavily on your fantastic service being accurate so I'm happy to contribute!
| |
|
| | Posted: 05 Jan 2024 08:55 | |
curswine
Posts: 938 Joined: 2020
| | This should be something that doesn't require manual update, but as you can see its having trouble right now. I'm trying to get the site admin to investigate on the Discord.
We welcome all the editing help we can get though.
| |
|
| | Posted: 05 Jan 2024 11:01 | |
zag
Posts: 3,515 Joined: 2020
| | Thanks both.
Seems NFL went into 2024 year (but 2023 season) which messed up the ID lookup logic. Should be fixed now.
Also fixed an issue with NCAA when the round is classed as "Bowls". I've converted it to a playoff game and now works properly.
Thanks again for identifying the issues. Should be good for the future as well now.
| |
|
| | Posted: 05 Jan 2024 12:02 | |
curswine
Posts: 938 Joined: 2020
| | I've also updated all local times for NFL and newly added NCAA games, as well as updating TV info which wasn't being pulled through due to the wrong dates, more will follow in the coming days.
| |
|
| | Posted: 05 Jan 2024 12:19 | |
Ovokx
Posts: 1,768 Joined: 2020
| | Added thumbs for the newly ones
| |
|
| | Posted: 07 Jan 2024 03:47 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | I really appreciate it! :-) I had the same problem with the season in my fetch logic. I set the season to $current so when 2024 hit it kept saying there was nothing to fetch. I'm glad it happened though because it exposed a flaw in my logic and now I have a fallback. Can't thank you guys enough for this service!
zag | |
|
| | Posted: 09 Jan 2024 04:44 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | Sorry to be a pain! I noticed though that there is often a drastic difference between strTime and strTimeLocal as well as dateEvent and dateEventLocal. It seems that the Local date and time are accurate but the time I need a standardized time zone (preferably EST) which strTime seems to be when it's accurate. Unfortunately it often isn't
| |
|
| | Posted: 09 Jan 2024 06:38 | |
curswine
Posts: 938 Joined: 2020
| | Sorry to be a pain! I noticed though that there is often a drastic difference between strTime and strTimeLocal as well as dateEvent and dateEventLocal. It seems that the Local date and time are accurate but the time I need a standardized time zone (preferably EST) which strTime seems to be when it's accurate. Unfortunately it often isn't
strTime is UTC, strTimeLocal is based off the UTC time so it should be just as accurate.
| |
|
| | Posted: 09 Jan 2024 10:07 | |
zag
Posts: 3,515 Joined: 2020
| | Sorry to be a pain! I noticed though that there is often a drastic difference between strTime and strTimeLocal as well as dateEvent and dateEventLocal. It seems that the Local date and time are accurate but the time I need a standardized time zone (preferably EST) which strTime seems to be when it's accurate. Unfortunately it often isn't
Always calculate from the UTC time which is strTime
| |
|
| | Posted: 10 Jan 2024 02:23 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | Yeah it looks like the best approach is to use the dateEventLocal with the strTime
| |
|
| | Posted: 10 Jan 2024 10:47 | |
curswine
Posts: 938 Joined: 2020
| | Just be aware that strLocal is added by me, manually (via a ), so please report any discrepancies you find, if any.
| |
|
| | Posted: 22 Jan 2024 22:56 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | How often do the live scores updates?
| |
|
| | Posted: 22 Jan 2024 22:58 | |
zag
Posts: 3,515 Joined: 2020
| | How often do the live scores updates?
Should be every 2mins but people have reported it taking longer. Yet to see evidence of that though as each sport is different.
| |
|
| | Posted: 24 Jan 2024 00:06 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | I appreciate you getting back to me! There doesn't happen to be a list of strStatus for the livescores API does there? I'm writing conditions to display different text based on the strStatus and was curious about what it is for overtime
| |
|
| | Posted: 24 Jan 2024 10:14 | |
curswine
Posts: 938 Joined: 2020
| | Soccer:
TBD : Time To Be Defined
NS : Not Started
1H : First Half, Kick Off
HT : Halftime
2H : Second Half, 2nd Half Started
ET : Extra Time
P : Penalty In Progress
FT : Match Finished
AET : Match Finished After Extra Time
PEN : Match Finished After Penalty
BT : Break Time (in Extra Time)
SUSP : Match Suspended
INT : Match Interrupted
PST : Match Postponed
CANC : Match Cancelled
ABD : Match Abandoned
AWD : Technical Loss
WO : WalkOver
Hockey and Basketball:
NS : Not Started
Q1 : Quarter 1 (In Play)
Q2 : Quarter 2 (In Play)
Q3 : Quarter 3 (In Play)
Q4 : Quarter 4 (In Play)
OT : Over Time (In Play)
BT : Break Time (In Play)
HT : Halftime (In Play)
FT : Game Finished (Game Finished)
AOT : After Over Time (Game Finished)
POST : Game Postponed
CANC : Game Cancelled
From Ovoxk in the Discord.
Ovokx | |
|
| | Posted: 25 Jan 2024 00:19 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | EXACTLY what I needed! Thanks!
| |
|
| | Posted: 26 Feb 2024 17:54 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | I notice the dates (dateEvent) for NBA and NHL (could be other leagues too) games in both the schedule and live scores are for a day in the future. Is there a reason for that? I just need to know the logic so I can set my code accordingly (i.e. if it's always a day ahead I can subtract a day on my end before rendering it). I think we talked about it before and I was using the dateEventLocal. The problem is it's NULL.
| |
|
| | Posted: 26 Feb 2024 18:49 | |
Ovokx
Posts: 1,768 Joined: 2020
| | I notice the dates (dateEvent) for NBA and NHL (could be other leagues too) games in both the schedule and live scores are for a day in the future. Is there a reason for that? I just need to know the logic so I can set my code accordingly (i.e. if it's always a day ahead I can subtract a day on my end before rendering it). I think we talked about it before and I was using the dateEventLocal. The problem is it's NULL.
as already replied by Curswine on Discord, times are UTC
| |
|
| | Posted: 27 Feb 2024 02:09 | |
FirstTeamFan
Posts: 11 Joined: 2023
| | Soccer:
TBD : Time To Be Defined
NS : Not Started
1H : First Half, Kick Off
HT : Halftime
2H : Second Half, 2nd Half Started
ET : Extra Time
P : Penalty In Progress
FT : Match Finished
AET : Match Finished After Extra Time
PEN : Match Finished After Penalty
BT : Break Time (in Extra Time)
SUSP : Match Suspended
INT : Match Interrupted
PST : Match Postponed
CANC : Match Cancelled
ABD : Match Abandoned
AWD : Technical Loss
WO : WalkOver
Hockey and Basketball:
NS : Not Started
Q1 : Quarter 1 (In Play)
Q2 : Quarter 2 (In Play)
Q3 : Quarter 3 (In Play)
Q4 : Quarter 4 (In Play)
OT : Over Time (In Play)
BT : Break Time (In Play)
HT : Halftime (In Play)
FT : Game Finished (Game Finished)
AOT : After Over Time (Game Finished)
POST : Game Postponed
CANC : Game Cancelled
From Ovoxk in the Discord.
I noticed that hockey (at least in the NHL) is P1, P2, P3. Does that mean the strStatus for other time periods may be different for hockey?
| |
|
| | Posted: 19 Sep 2024 18:50 | |
NiagaraPhils
Posts: 4 Joined: 2024
| | I really appreciate that. If that is something you guys are looking for in an editor we can discuss it too. My site will depend pretty heavily on your fantastic service being accurate so I'm happy to contribute!
I'm quite new to this site, and I am having a difficult time getting some data. You say that your site depends on it, and I am building a very small site for my family where I would like to have this link established. I have tried and I can't seem to figure out how to get the basics though. Can you walk me through how to get the simple idAPIfootball numbers for each 2024 game?
| |
|