MMA API

FREEMIUM
От Pinto Studio | Обновлено 24 days ago | Sports
Популярность

9.2 / 10

Задержка

774ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

Issue with get event id endpoint

Rapid account: Pierreclouard Fw Dg 18 L 183
pierreclouard-Fw_Dg18L183
एक महीने पहले

// update: it seems like all endpoints are pre-filtered on 2024 even if we apply another year as filter

No matter which year Im searching data for, the events being returned are the ones from 2024.

For instance Im running this code (filtered on 2023) and the output is the data from 2024:

const url = ‘https://mma-api1.p.rapidapi.com/getEventId?year=2023’;
const options = {
method: ‘GET’,
headers: {
‘X-RapidAPI-Key’: ‘18db270f42msh51f8251510624cap144293jsn72bbc3be4aeb’,
‘X-RapidAPI-Host’: ‘mma-api1.p.rapidapi.com
}
};

fetch(url, options)
.then(response => response.text())
.then(result => {
console.log(result);
// You can do further processing with the data here
})
.catch(error => console.error(error));

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии