a simple api to get data of the biggest football leagues , made for microverse students so they cann implement them in their projects
- Express
- NodeJs
- MongoDB (Mongoose)
- JavaScript
https://football-apis.herokuapp.com/api/v1
example : https://football-apis.herokuapp.com/api/v1/leagues
Allowed actions:
- Get
Parameters:
- No parameters required
Response:
"status": 200,
"msg": "Success",
"leagues": [...]
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
});
App Created by ha-manel using this api