API-FOOTBALL

FREEMIUM
Verified
Durch API-SPORTS | Aktualisiert 5 days ago | Sports
Popularität

10 / 10

Latenz

369ms

Service Level

99%

Health Check

N/A

Zurück zu allen Diskussionen

Cyprus League Error

Rapid account: Uefaranken
uefaranken
2 years ago

Cyprus League this season (id 318) only gets an error when trying to reach it with python request.

Rapid account: Api Sports
api-sports Commented 2 years ago

As indicated in the coverage this competition do not have standings : “standings: false”

{
get: "leagues"
parameters: {

id: "318"
season: "2021"

}
errors: [

]
results: 1
paging: {

current: 1
total: 1

}
response: [
{
league: {

id: 318
name: "1. Division"
type: "League"
logo: "https://media.api-sports.io/football/leagues/318.png"

}
country: {

name: "Cyprus"
code: "CY"
flag: "https://media.api-sports.io/flags/cy.svg"

}
seasons: [
{
year: 2021
start: "2021-08-20"
end: "2022-02-19"
current: true
coverage: {
fixtures: {

                        events: true
                        lineups: true
                        statistics_fixtures: true
                        statistics_players: false
                    }
                    standings: false
                    players: true
                    top_scorers: true
                    top_assists: true
                    top_cards: true
                    injuries: false
                    predictions: true
                    odds: true
                }
            }
        ]
    }
]

}

Best

Rapid account: Uefaranken
uefaranken Commented 2 years ago

It’s league standings that not work. The fixtures is fine.
And it’s the same script I use for the rest of the European Leagues, just change the league-id. The rest work fine.
Sorry for the non-focused message.

Rapid account: Api Sports
api-sports Commented 2 years ago

Hi

you need to check yout scripts. All is good on our side.

{
get: "fixtures"
parameters: {
league: "318"
season: “2021”
}
errors: [
]
results: 132
paging: {
current: 1
total: 1
}
response: [
{
fixture: {
id: 730943
referee: "Loukas Sotiriou, Cyprus"
timezone: "UTC"
date: "2021-08-20T16:00:00+00:00"
timestamp: 1629475200
periods: {
first: 1629475200
second: 1629478800
}

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen