Open mrmin123 opened 4 years ago
@waicool20 how does the user authenticate or handshake with Yuu?
The user gets an api key by issuing a command in discord which they should save into the script. After that its just fill in the blanks according to the examples above.
Oh I just saw the apikey
portion in the URL. That explains it, thanks.
Forgot to add this but you can check if an api key is valid using the following call
GET https://yuu.waicool20.com/api/user/{apikey}
It'll either return 200 OK or 404 Not Found
Courtesy of @waicool20
POST https://yuu.waicool20.com/api/user/{apikey}/stats
:POST https://yuu.waicool20.com/api/user/{apikey}/crashed
: