https://github.com/wfcd/warframe-worldstate-parser
:green_book: An Open parser for Warframe's Worldstate in Javascript
https://github.com/wfcd/warframe-worldstate-parser
discord javascript node-js node-module parse parser warframe warframe-worldstate warframe-worldstate-parser
Last synced: 3 months ago
JSON representation
:green_book: An Open parser for Warframe's Worldstate in Javascript
- Host: GitHub
- URL: https://github.com/wfcd/warframe-worldstate-parser
- Owner: WFCD
- License: mit
- Created: 2016-05-20T14:51:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-04-02T15:40:06.000Z (3 months ago)
- Last Synced: 2025-04-04T05:45:47.524Z (3 months ago)
- Topics: discord, javascript, node-js, node-module, parse, parser, warframe, warframe-worldstate, warframe-worldstate-parser
- Language: JavaScript
- Homepage: https://wfcd.github.io/warframe-worldstate-parser/
- Size: 15.3 MB
- Stars: 55
- Watchers: 8
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Warframe Worldstate Parser
Parse the Warframe worldstate into useable javascript objects.
[](https://github.com/WFCD/banner/blob/master/PROJECTS.md)
[](https://crowdin.com/project/genesis-parser)
[](https://coveralls.io/github/WFCD/warframe-worldstate-parser?branch=master)
[](https://discord.gg/jGZxH9f)
[](https://github.com/semantic-release/semantic-release)## Documentation
You can find the documentation [here](https://wfcd.github.io/warframe-worldstate-parser/)
## Installation
```shell
$ 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](#live-version)
## Example usage
```javascript
// import WorldState from 'warframe-worldstate-data';
// using this syntax to make it precisely testable in a test
const WorldStateParser = await import('warframe-worldstate-parser');
const worldstateData = await fetch('https://content.warframe.com/dynamic/worldState.php').then((data) => data.text());const ws = await WorldStateParser(worldstateData);
console.log(ws.alerts[0].toString());
```## Live version
See the parser in action here:
[](https://api.warframestat.us/pc)
[](https://api.warframestat.us/ps4)
[](https://api.warframestat.us/xb1)
[](https://api.warframestat.us/swi)