1.0.0 • Published 7 years ago
brasileirao-api v1.0.0
Brasilerião API
Get ranking of brazilian futebool soccer championship by classification (A, B, C)
How to install
Open terminal in your project folder, then:
$ npm install brasileirao-api
How to use
In you project, just do:
- You can change serie to a, b, c
If you are using ES5
// ES5
const brasileirao = require('brasileirao-api')
// EXAMPLE
brasileirao('a').then(function(raking) {
console.log(ranking)
})
If you are using ES6
// ES6
import brasileirao from 'brasileirao-api'
// EXAMPLE
brasileirao('a').then((raking) => {
console.log(ranking)
})
If you have any doubts you can check example folder
1.0.0
7 years ago