API-FOOTBALL

फ्रीमियम
Verified
द्वारा API-SPORTS | अपडेट किया गया vor 11 Tagen | Sports
लोकप्रियता

10 / 10

लेटेंसी

370ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

"The X field need another parameter"

Rapid account: Nessworthy
Nessworthy
22 days ago

I can’t find any resources which might say why, so I’m posting here.

I’m trying to fetch fixtures for a venue between two dates.
I’m using the V3 fixtures endpoint, passing from (YYYY-MM-DD), to (YYYY-MM-DD), and venue (venue ID) params. The date range is for a few days in the future and the venue ID is valid.

However, when I try and request this, I simply get an errors object containing:

{
   from:"The From field need another parameter."
   to:"The To field need another parameter."
   venue:"The Venue field need another parameter."
}

When I use the date filter to request fixtures for a single date, including the venue param too, the request succeeds.

What could I be doing wrong?

Rapid account: Api Sports
api-sports Commented 22 days ago

Hi,

With from and to parameters you have to specify at least a team or league id parameter.

Best

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें