LiveScore

免费增值
Verified
通过 Api Dojo | 已更新 hace 14 días | Sports
人气

9.9 / 10

延迟

2,189ms

服务等级

100%

Health Check

N/A

返回所有讨论

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

Rapid account: All About Sport
AllAboutSport
hace 2 años

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 hace 2 años

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 hace 2 años

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 hace 2 años

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

Rapid account: All About Sport
AllAboutSport Commented hace 2 años

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 hace 2 años

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 hace 2 años

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.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论