# node-football-data

> This is a simple node wrapper for football-data.org

Latest version **0.1.4** (published 2018-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-football-data
pnpm add node-football-data
yarn add node-football-data
bun add node-football-data
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2018-06-26 |
| First published | 2016-06-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | c0dr |
| Maintainers | c0dr |
| Keywords | football, soccer, api |

## Links

- npm: https://www.npmjs.com/package/node-football-data
- npm.io page: https://npm.io/package/node-football-data

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.72.0
- [request-promise](https://npm.io/package/request-promise.md) ^3.0.0

## Recent versions

- 0.1.4 (latest) — 2018-06-26
- 0.1.3 — 2018-06-19
- 0.1.2 — 2016-06-09
- 0.1.1 — 2016-06-09

## README

# ⚽️ node-football-data

This is a simple wrapper around the football-data.org API for NodeJS. It is only a very rough first version created on a Sunday, so maybe take it with a pinch of salt :)

(Please note, that this is for fooball, not handball with an egg as a ball :-))


## Installation

`````
npm install node-football-data --s
`````


## Example usage

````javascript
//Initialize
var FootballData = require('node-football-data');
var fd = FootballData('APIKEY');

//Get the first match of the euros
fd.getLeagugeFixtures(424).then(function(res) {
  var fixtures = res;
  console.log(fixtures.fixtures[0].homeTeamName + " vs " + fixtures.fixtures[0].awayTeamName);
}).catch(function(err) {
  console.log(err);
})

````

## License

MIT

---
_Source: https://npm.io/package/node-football-data · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
