LiveScore

FREEMIUM
Verified
By Api Dojo | Updated il y a 14 jours | Sports
Popularity

9.9 / 10

Latency

2,188ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Football: Query for today data but api give me yesterday data

Rapid account: All About Sport
AllAboutSport
il y a 2 ans

my time zone is : kenya time zone

I have query for today data but api give me yesterday data for football. how can i solve this issue.

end point is
https://livescore6.p.rapidapi.com/matches/v2/list-by-date?Category=soccer&Date=20220902

Rapid account: Apidojo
apidojo Commented il y a 2 ans

Hello,

The following endpoints now support “Timezone” parameter which helps to load matches correctly in different countries and timezones.
…/matches/v2/list-by-date
…/matches/v2/list-by-league
…/matches/v2/list-live

In addition, we have released lots of new endpoints which are :

…/leagues/v2/get-table

…/matches/v2/get-info
…/matches/v2/get-commentary
…/matches/v2/get-lineups
…/matches/v2/get-incidents
…/matches/v2/get-statistics
…/matches/v2/get-h2h
…/matches/v2/get-pregame-form
…/matches/v2/get-table

…/competitions/detail
…/competitions/get-table
…/competitions/get-player-stats
…/competitions/get-team-stats

…/teams/detail
…/teams/get-table
…/teams/get-player-stats
…/teams/get-team-stats

You may have a look at https://rapidapi.com/apidojo/api/livescore6 for more detail.

Regards.

Rapid account: Apidojo
apidojo Commented il y a 2 ans

Hello,

You did NOT check the official LiveScore app correctly as the app automatically detect your timezone and save the information at first. If you want to compare the response data from our endpoint, you need to follow as :
_ Open the Livescore app and change the timezone to UTC+7
_ Call the endpoint, then compare the result https://prnt.sc/2UIV6KuvUEt1

Regards.

Rapid account: All About Sport
AllAboutSport Commented il y a 2 ans

@apidojo can you help me plz, i am stuck for this issue?

Rapid account: All About Sport
AllAboutSport Commented il y a 2 ans

screen shot ![https://ibb.co/mF7w4hL]
this is https://www.livescore.com/en/ for today

screen shot ![https://ibb.co/J5vZ6yD]
this is result when i call your api

for **kenya time zone **

please help me how can i resolve this issue?

Rapid account: All About Sport
AllAboutSport Commented il y a 2 ans

You have to parse the datetime string and format it to your local timezone.

Date=20220902 in date parm i will send utc+7 time or else

i am not clear, can you explain more please

Rapid account: Apidojo
apidojo Commented il y a 2 ans

Hello,

It is because of different timezones. LiveScore uses UTC+7 as default timezone, and this API is as so. You have to parse the datetime string and format it to your local timezone.

Regards.

Join in the discussion - add comment below:

Login / Signup to post new comments