GithubHelp home page GithubHelp logo

icarodavi / football-standings-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azharimm/football-standings-api

0.0 1.0 0.0 30 KB

Display football standings e.g epl, la liga, serie a etc. The data is based on espn site.

Home Page: https://api-football-standings.azharimm.site

Shell 0.19% JavaScript 99.81%

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

Watchers

 avatar

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.