SamFetch
SamFetch copied to clipboard
Endpoint refactor, ID in errors, update Sanic
- Listing firmwares now return some information such as bootloader version, minor and major iteration and build date which is parsed from firmware string.
- Updated Sanic to 21.12.1
- Error messages now include an ID instead of just a message.
- Renamed endpoints for consistency with other endpoints.
- Added
/firmware/:region/:model/latestendpoint that gets the latest firmware version and redirects to its firmware information endpoint. - Removed the
/:region/:modelendpoint. For direct downloads, use/firmware/:region/:model/latest?download=1(for latest version) or/firmware/:region/:model/:firmware?download=1(for specific version) - Removed CSC list, if anyone needs this functionality, they can copy the CSC dictionary to their code.