1.4.0 • Published 6 years ago

splat2api v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

splat2api-wrapper-nodejs

NPM

A node.js wrapper for splat2api.

Installation

Install it with npm: npm install --save splat2api

Example

const API = require("splat2api");
API.getSchedules().then(result => {
    console.log(result);
});

Documentation

getSchedules()

Returns the next 12 map schedules.

getCurrentSchedule()

Returns the current map schedule.

getSchedule(schedule_id)

Returns a specific map schedule.

getCoopSchedules()

Returns the next 12 map schedules.

getCurrentCoopSchedule()

Returns the current map schedule.

getCoopSchedule(schedule_id)

Returns a specific map schedule.

getStages()

Returns all available stages.

getStage(stage_id)

Returns a specific stage.

getNextUpdate()

Returns the time until the stats get refreshed.

getActiveFestivals()

Returns a list of active festivals.

getPastFestivals()

Returns a list of past festivals.

getFestival(festival_id)

Returns information on a specific splatfest by its id.

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago