Back
sys-http
by zaksabeast
|
Version | 0.1.0 |
Zip size | 384 KiB |
License | GPLv3 |
Updated | 31/05/2020 |
Downloads | 2,942 |
MD5 | 640effc95e669cdabee9c63ce62023b7 |
App Details
This is a sysmodule that allows communicating with the Nintendo Switch using http. This sysmodule brings a few advantages that don't currently exist:
HTTP is a standardized protocol with well defined uses
Most languages have at least one http library, so there's not a need to write a wrapper around raw TCP
Web browsers can use HTTP, but not raw TCP (without disabling security rules)
Potential future use cases:
Read Pokemon Sword/Shield den seeds directly into @Admiral-Fish's RaidFinder or @leanny's Seed Checker
Display Animal Crossing turnip prices in a mobile app
Show updating game values during a Twitch live stream
Setup a PKHeX REST API and live edit Pokemon from a website
Create a Discord bot that allows users to interact with the console
Connecting
sys-http uses port 8080
https is not currently used
Available routes
All number query parameters will be in hex format for consistency.
These are the currently available routes:
/ - Health check to see if the sysmodule is running
/refreshMetadata - Refreshes the game metadata used to power other routes
/titleId - Returns the title Id of the game
/readHeap?offset=&size= - Read values from the heap
Changelog
0.1.0
CORS headers to allow web browsers to work with sys-http
/settings/language to get the console language