Aller au contenu
GET /v1/teams

All NRL clubs

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/nrl-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/nrl-api/v1/teams" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nrl-api/v1/teams", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nrl-api/v1/teams");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/nrl-api/v1/teams",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "count": 19,
        "teams": [
            {
                "id": "289195",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289195.png",
                "name": "Broncos",
                "abbreviation": "BRI"
            },
            {
                "id": "289197",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289197.png",
                "name": "Bulldogs",
                "abbreviation": "CAN"
            },
            {
                "id": "289202",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289202.png",
                "name": "Cowboys",
                "abbreviation": "NOR"
            },
            {
                "id": "289346",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289346.png",
                "name": "Dolphins",
                "abbreviation": "DOL"
            },
            {
                "id": "289209",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289209.png",
                "name": "Dragons",
                "abbreviation": "ST."
            },
            {
                "id": "289194",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289194.png",
                "name": "Eels",
                "abbreviation": "PAR"
            },
            {
                "id": "289207",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289207.png",
                "name": "Knights",
                "abbreviation": "NEW"
            },
            {
                "id": "289317",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289317.png",
                "name": "New South Wales",
                "abbreviation": "NEW"
            },
            {
                "id": "289199",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289199.png",
                "name": "Panthers",
                "abbreviation": "PEN"
            },
            {
                "id": "289318",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289318.png",
                "name": "Queensland",
                "abbreviation": "QUE"
            },
            {
                "id": "289205",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289205.png",
                "name": "Rabbitohs",
                "abbreviation": "SOU"
            },
            {
                "id": "289198",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289198.png",
                "name": "Raiders",
                "abbreviation": "CAN"
            },
            {
                "id": "289204",
                "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/289204.png",
                "name": "Roosters",
                "abbreviation": "SYD"
            },
            {
                "id": "289196"
…