AyAyEm / warframe-status

:cloud: Simple express app that parses worldState.php

Home Page:https://docs.warframestat.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warframe-status

Simple express app that parses worldState.php

Build Status Swagger Docs Supported by the Warframe Community Developers Discord

PC API Status PS4 API Status XB1 API Status Switch API Status

Access

REST-ish:

  • http://$host:$port/$platform
  • http://$host:$port/$platform/$child-item
  • http://$host:$port/$a-bunch-of-static-data

Sockets:

ws://$host:$port/sockets

Requests taken as json strings in the socket packet.

Consumers will need to parse responses and stringify requests yourself, as ws doesn't provide a way to automatically parse them.

{"event": "ws:req", "packet": { "platform": "$platform", "language": "$language" }}
{ "event": "twitter" }
{ "event": "rss" }

connecting automatically subscribes the connection to events structured as:

{
  "event": "twitter",
  "packet": // tweets
}
{
  "event": "ws:update",
  "packet": // entire updated worldstate
}
{
  "event": // worldstate key,
  "packet": // worldstate key data
}

probably several others that can take some experimenting

About

:cloud: Simple express app that parses worldState.php

https://docs.warframestat.us

License:MIT License


Languages

Language:JavaScript 92.9%Language:CSS 7.1%