warframe-worldstate-parser

An Open parser for Warframe's Worldstate in Javascript

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
warframe-worldstate-parser
5023.0.1010 days ago8 years agoMinified + gzip package size for warframe-worldstate-parser in KB

Readme

Warframe Worldstate Parser
Parse the Warframe worldstate into useable javascript objects.
Supported by the Warframe Community Developers Crowdin Coverage Status Discord semantic-release: angular

Documentation

You can find the documentation here

Installation

$ npm i -S warframe-worldstate-parser

For the most part, you'll have a better experience consuming the product of this from the information in Live version

Example usage

const worldstateData = await require('request-promise')('http://content.warframe.com/dynamic/worldState.php');

const WorldState = require('warframe-worldstate-parser');

const ws = new WorldState(worldstateData);

console.log(ws.alerts[0].toString());

Live version

See the parser in action here:
PC API PS4 API XB1 API Switch API