resultados-futbol-api

0.0.2 • Public • Published

Resultados-Futbol Node API

Node.js implementation for the Resultados Futbol API

Installation

npm i --save resultados-futbol-api

Usage

Require the library and initialize it with your account key:

const RF = require('resultados-futbol-api')
 
const rf = new RF('your-api-key')

Get Leagues Data

rf.getLeagues()
  .then((leagues) => {
    console.log(leagues)
  })
  .catch(console.error)

More methods coming soon

Running Tests

In order to run the tests, the integration tests require to create a secrets.js file from the provided secrets.js.example example, and fill it in with a valid access key.

Then just mocha.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i resultados-futbol-api

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • goferito