Giter VIP home page Giter VIP logo

football-standings-api's Introduction

Football Standings API

1. All Leagues Available

[ENDPOINT] /leagues

[GET] https://api-football-standings.azharimm.site/leagues

Sample Response

{
  "status": true,
  "data": [
    {
      "id": "arg.1",
      "name": "Argentine Liga Profesional de Fútbol",
      "slug": "argentine-liga-profesional-de-futbol",
      "abbr": "Prim A",
      "logos": {
        "light": "https://a.espncdn.com/i/leaguelogos/soccer/500/1.png",
        "dark": "https://a.espncdn.com/i/leaguelogos/soccer/500-dark/1.png"
      }
    },
    ...
  ]
}

2. League Detail

[ENDPOINT] /leagues/{id}

[GET] https://api-football-standings.azharimm.site/leagues/eng.1

Sample Response

{
  "status": true,
  "data": {
      "id": "arg.1",
      "name": "Argentine Liga Profesional de Fútbol",
      "slug": "argentine-liga-profesional-de-futbol",
      "abbr": "Prim A",
      "logos": {
        "light": "https://a.espncdn.com/i/leaguelogos/soccer/500/1.png",
        "dark": "https://a.espncdn.com/i/leaguelogos/soccer/500-dark/1.png"
      }
    },
}

3. Seasons Available

[ENDPOINT] /leagues/{id}/seasons

[GET] https://api-football-standings.azharimm.site/leagues/eng.1/seasons

Sample Response

{
  "status": true,
  "data": {
      "name": "English Premier League",
      "desc": "Available seasons standings data",
      "abbreviation": "Prem",
      "seasons": []
    },
}

4. Standings

[ENDPOINT] /leagues/{id}/standings

[GET] https://api-football-standings.azharimm.site/leagues/eng.1/standings?season=2020&sort=asc

Sample Response

{
  "status": true,
  "data": {
      "name": "English Premier League",
      "abbreviation": "Prem",
      "seasonDisplay": "2020-2021",
      "season": 2020,
      "standings": []
   },
}

football-standings-api's People

Contributors

azharimm avatar clefayomide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

football-standings-api's Issues

Usage Issue

Hello, im getting a 200 STATUS but the response is meaningless:

<!doctype html><html data-adblockkey="MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANDrp2lz7AOmADaN8tA50LsWcjLFyQFcb/P2Txc58oYOeILb3vBw7J6f4pamkAQVSQuqYsKx3YzdUHCvbVZvFUsCAwEAAQ==_K9cEzc5fpPOtiam8yP0dPZEXrwyf2PGgHPzX81KWEEm1frNGpn3ldA8JIqELz/Mp6AdYvL1moHAOJy15QbZsBg=="><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="preconnect" href="https://www.google.com" crossorigin></head><body><div id="target" style='opacity: 0'></div><script>window.park = "eyJ1dWlkIjoiMDI4MjIyOWQtOTlmNy02NTI0LTkwN2QtZjBlMzBhOGU3ZGUyIiwicGFnZV90aW1lIjoxNjc0MzY0MDE2LCJwYWdlX3VybCI6Imh0dHBzOlwvXC9hcGktZm9vdGJhbGwtc3RhbmRpbmdzLmF6aGFyaW1tLnNpdGVcL2xlYWd1ZXNcL2VuZy4xXC9zdGFuZGluZ3M/c2Vhc29uPTIwMjAmc29ydD1hc2MiLCJwYWdlX21ldGhvZCI6IkdFVCIsInBhZ2VfcmVxdWVzdCI6eyJzZWFzb24iOiIyMDIwIiwic29ydCI6ImFzYyJ9LCJwYWdlX2hlYWRlcnMiOltdLCJob3N0IjoiYXBpLWZvb3RiYWxsLXN0YW5kaW5ncy5hemhhcmltbS5zaXRlIiwiaXAiOiIxMDIuMTI5LjIzMi4xMjcifQ==";</script><script src="/js/parking.2.101.3.js"></script></body></html>

Update needed for API endpoint in documentation

The API endpoint, https://api-football-standings.azharimm.site, no longer works, you need to change it to https://api-football-standings.azharimm.dev in the documentation. This broke my old code but I was able to quickly find that your new site still supports this API.

It is also important to note for those that have used this API for previous projects, that the order of the data for points, wins, losses, draws, etc. has changed and will mess up your web app if you haven't updated it and your code depended on the order of the data.

API not working anymore

I've been using the API for the last few months, but in the last weeks it stopped working. This is the response I get from Postman:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.