Skip to content

☁️ Simple express app that parses worldState.php

License

Notifications You must be signed in to change notification settings

WFCD/warframe-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a96cfc3 · Aug 4, 2022
Aug 1, 2022
Jun 15, 2022
Dec 16, 2021
Mar 11, 2022
Jun 15, 2022
Aug 27, 2020
Mar 11, 2022
May 12, 2022
Feb 7, 2017
Aug 27, 2020
May 12, 2022
Nov 1, 2018
Oct 30, 2021
Aug 4, 2022
Aug 4, 2022

Repository files navigation

warframe-status

Simple express app that parses worldState.php

Supported by the Warframe Community Developers Discord

Coverage Status Release Actions

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

ENV Variables

Key Meaning
TWITTER_KEY Twitter Account Key
TWITTER_SECRET Twitter Account Secret
TWITTER_BEARER_TOKEN Twitter OAuth Bearer Token
WFINFO_FILTERED_ITEMS WF Info filtered items source json url
WFINFO_PRICES WF Info prices source json url
DISABLE_PRICECHECKS Disable pricecheck services
SENTRY_DSN Sentry DNS for reporting errors
BUILD Whether or not to forcibly build caches on startup
LOG_LEVEL Logging level for logging
HOST/HOSTNAME host or hostname for hosting service
PORT/IP Port or IP address for hosting service