User:J4/resostats

From Resonite Wiki
Revision as of 13:40, 25 September 2024 by J4 (talk | contribs) (add basic doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page describes basic documentation for the plain API of Resostats. It is made to provide a week-long history of Resonite stats that is easily parseable with ProtoFlux to make graphs in-game.

Accessing the data

Accessing the data is simple, and only one endpoint is available: https://plainapi.resostats.j4.lc/

This endpoint will return a week worth of data.

Description of the data

The data is formatted as follows:

[[3,811,276],[3,871,274]]
^^^ ^   ^   ^           ^ Data stop
||| |   |   - Stat delimiter
||| |   - Stats (number of registered players online)
||| - Minute of day (0,1440)
||- Day number (0,6)
|- Data block start delimiter
- Data start