Get ranking of brazilian futebool soccer championship by classification (A, B, C)
Open terminal in your project folder, then:
$ npm install brasileirao-api
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