ichala / football-api-microverse

a simple api to get data of the biggest football leagues , made for microverse students so they cann implement them in their projects

Home Page:https://football-apis.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Football Api Microverse

a simple api to get data of the biggest football leagues , made for microverse students so they cann implement them in their projects

Built With

  • Express
  • NodeJs
  • MongoDB (Mongoose)
  • JavaScript

Base URL

https://football-apis.herokuapp.com/api/v1

Endpoints

/leagues

example : https://football-apis.herokuapp.com/api/v1/leagues

Allowed actions:

  • Get

Parameters:

  • No parameters required

Response:

"status": 200,
"msg": "Success",
"leagues": [...]

example with axios

 await axios.get('https://football-apis.herokuapp.com/api/v1/leagues')
    .then((response) => {
      leagues = response.data.leagues;
      console.log(leagues); // the response wich contain all the leagues
    });

example with live project

example
App Created by ha-manel using this api

About

a simple api to get data of the biggest football leagues , made for microverse students so they cann implement them in their projects

https://football-apis.herokuapp.com/

License:MIT License


Languages

Language:JavaScript 99.9%Language:Procfile 0.1%