You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gamifying our stations rank - Can we automate? #320
Who we are
I'm Bob, founder of The Computer Museum @ System Source (Maryland Technology Museum), a 501(c)(3) vintage computing museum in Hunt Valley, Maryland. We operate the TinyGS station ComputerMuseum as part of our "living museum" exhibits.
What we'd like
To record, once a day, our station's rank among all stations by confirmedPackets, and among online stations. We'd log it and show it on a museum display.
What we've found
https://api.tinygs.com/v3/stations now needs an x-client-timestamp header generated by the web app, so scripted requests get 403 MISSING_CLIENT_TIMESTAMP / INVALID_CLIENT_TIMESTAMP.
The Programmatic API wiki describes a Bearer token from the Telegram bot, but @tinygs_personal_bot now only offers /mqtt, /stations, /delete and /weblogin.
The only thing that works is copying the request from browser DevTools by hand each time.
We understand why the list endpoint is protected and don't want to work around it.
Any of these would solve it
A per-user API token (as in the wiki) that is accepted by /v3/stations
A lightweight endpoint returning a given station's rank, e.g. /v3/station/<id>/rank
A cached daily public export of station stats
One request per day would cover our needs. Happy to test anything. Thanks for TinyGS, it's been a great addition to the museum.
Ideally we could limit to packets received in the last 30 days
Activity