Hitbox-API
Hitbox-API copied to clipboard
Hitbox/Smashcast API out of date?
There's no contact information for Hitbox / Smashcast developer support except your deprecated Github; sorry.
I haven't checked all of the endpoints, but the "Check Token" endpoint seems to be out of date, as any post to https://api.smashcast.tv/auth/valid/{appName | appId}?token={authToken}
reports {"success":true,"error":false,"error_msg":"auth_failed"}
There also appears to be no way to get the App Id; I found mine by saving my app details and looking at the POST information:
https://www.smashcast.tv/api/oauthapps/{my app name}/{my app id}?authToken={their auth token}
/auth/valid/:app?token=authToken
takes an application name, not an id. I just tested it with a token generated via oauth, and it still does work. I don't think this endpoint can handle apps with spaces.
/oauthapps
does have a GET located at /oauthapps/:user_name
that returns a list of all your applications, including their Ids an Names.
It's generally easier to use this api as it doesn't need a app.