Horse Racing

GRATIS CON POSSIBILITÀ DI UPGRADE
Da API | Aggiornamento לפני 17 ימים | Sports
Popolarità

9.8 / 10

Latenza

511ms

Livello di servizio

100%

Health Check

N/A

Torna a tutte le discussioni

Speech Mark Encoding

Rapid account: Xaiintw
xaiintw
לפני שנתיים

Hi,

Great API, thank you. Using PHP todays races fail to decode as the json is malformed due to speech marks in the event title.

{
“id_race”:“222135”,
“course”:“Newmarket”,
“date”:“2022-09-23 16:10:00”,
“title”:“AL BASTI EQUIWORLD, DUBAI BRITISH EBF “CONFINED” MAIDEN STAKES (Colts and geldings) (4)”,“distance”:“7f”,“age”:“2”,“going”:“Good (Good To Firm in places)”,“finished”:“0”,“canceled”:“0”,“finish_time”:"",“prize”:"\u00a35400",“class”:“4”
}

Could you look at maybe encoding them please ?

Thanks
-Xaiin

Rapid account: Xaiintw
xaiintw Commented לפני שנתיים

Thanks for the quick reply.

Looks like you’ve got the first speech mark sorted but not the subsequent one and there fore still fails.

{
“id_race”:“222135”,
“course”:“Newmarket”,
“date”:“2022-09-23 16:10:00”,
“title”:“AL BASTI EQUIWORLD, DUBAI BRITISH EBF 'CONFINED"MAIDEN STAKES (Colts and geldings) (4)”,“distance”:“7f”,“age”:“2”,“going”:“Good (Good To Firm in places)”,“finished”:“1”,“canceled”:“0”,“finish_time”:“1m 28.11s”,“prize”:"\u00a35400",“class”:“4”
},

Thanks
-Xaiin

Rapid account: Ortegalex
ortegalex Commented לפני שנתיים

Hi, please check it now.

Regards,
Alex

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti