fpl-api-node

A simple node wrapper for the Fantasy Premier League (fantasy.premierleague.com) restful web api.
Installation
npm install fpl-api-node --save
Usage
The package is written in typescript and can be consumed either strongly-typed or in plain Javascript.
Javascript
const fplapi = require('fpl-api-node');
Typescript / ES2105
import * as fplapi from 'fpl-api-node';
Example
fplapi.getEntry(123456).then((data) => {
console.log(data);
}).catch((err) => {
});
API
API docs can be found at https://tgreyuk.github.io/fpl-api-node