WhatsApp Business

שולם
על ידי CollectAPI | מְעוּדכָּן לפני חודשיים | Commerce
חזרה לכל הדיונים

Response of Get Season Matches For a Team Service is Wrong

H
hmat
לפני 5 שנים

Hi,

Last week I start developing a simple application with Soccer - Sports Open Data for getting results of premier league matches and until yesterday, the service “Get Season Matches For a Team” works fine and with the desired information.
Since yesterday, when I invoke this service, the response is different then before.

EXPECTED RESPONSE:
“data”: {
“rounds”: [
{
“identifier”: “5d1vnjgivgb9mlzlpdx2ktkagy4wprly”,
“name”: “Giornata 1”,
“start_date”: “2016-08-19T20:45:00+0200”,
“end_date”: “2016-08-22T22:00:00+0200”,
“round_slug”: “giornata-1”,
“match_slug”: “real_sociedad-real_madrid”,
“date_match”: “2016-08-21T20:15:00+0200”,
“home_team”: “Real Sociedad”,
“away_team”: “Real Madrid”
},

ACTUAL RESPONSE (WRONG):
“data”: {
“rounds”: [
{
“identifier”: “5d1vnjgivgb9mlzlpdx2ktkagy4wprly”,
“name”: “Giornata 1”,
“start_date”: “2016-08-19T20:45:00+0200”,
“end_date”: “2016-08-22T22:00:00+0200”,
“round_slug”: “gironata-1”
},

You change something in the response of this service? Can you explain what happens?
Thanks for your help.

Best regards,
Helder Tato

H
hmat commented לפני 5 שנים

Hi Paolo,

Thank you for your response and help, problem solved 😃
I’ll keep you updated if another bug appears.
Thanks a lot

Bye,
Helder Tato

avatar
sportsop commented לפני 5 שנים

Hi Helder,
really thanks a lot for your issue. We’re working hard for api service migration (it’ll happens next weeks) and you’ve found the first bug of this new way: so congratulation! 😄

Anyway, we’ve checked about what happens and we’ve seen that in this request, in version 2, you’re going to get also a team comparison paramter, so we’ve removed temporarly team_identifier (and you’ve found this removal).

So really thanks a lot to monitor our api: we’ve fixed this bug so you should be able to get the right data now with team_identifier as you did before.

Keep us updated if anything should be ok: if yes we’re going to close this issue.

And stay tuned on Sports Open Data API because in few weeks we’re going to deliver our API through our new server and you should have a faster service than now.

Really thanks a lot and keep us updated.
Bye Paolo.

avatar
sportsop commented לפני 5 שנים

Really thanks a lot to you.

It’s a pleasure to have help you for this kind of problem.

Bye.
Paolo.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות
דירוג: 2.4 - הצבעות: 8