Skip to content

Node wrapper class for the International Flipper Pinball Association (IFPA) API.

License

Notifications You must be signed in to change notification settings

torsjonas/ifpa-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ifpa-api

A Promise based node client for the International Flipper Pinball Association (IFPA) API.

Installation

npm install ifpa-api

Usage

Create an instance of the IfpaApi class, providing your API key as a parameter. You can get an API key by following the instructions on http://www.ifpapinball.com/api/documentation/

const IfpaApi = require('ifpa-api');
const ifpaApi = new IfpaApi('<your_key');

ifpaApi.getActiveCalendarEvents('Sweden')
  .then(result => console.log(JSON.stringify(result)));

ifpaApi.getPlayerInformation(20000)
  .then(result => console.log(JSON.stringify(result)));

About

Node wrapper class for the International Flipper Pinball Association (IFPA) API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published