fpl-api-node

A simple node API wrapper for the Fantasy Premier League (fantasy.premierleague.com) web apis, updated for the 2017/18 season.
Installation
npm install fpl-api-node --save
Getting started
const fplapi = require('fpl-api-node');
fplapi.findEntry(entryId).then((data) => console.log(data));
API
Please refer to the Wiki for API doc and available methods.
Other
TypeScript
fpl-api-node is packaged with TypeScript definitions.
import * as fplapi from 'fpl-api-node';
Caching
There is in-built http request caching currently set to 2 hours but looking at options to make this more intelligent / configurable.