rankade.Consts
Any magic strings to go here.
Module Contents
Data
Rankade server URL. |
|
Bot users have an ID of βbotβ. |
|
Ghost players have a display name prefixed with β*β. |
|
All Error HTTP Status |
|
If Rankade server returns 400, 404, or 500, it should also return an error code beginning with βRβ. |
|
Match validation errors will return either 202 or 400 HTTP status code. |
|
Match validation errors will return an error code beginning with βMβ. |
|
Authentication errors will return either 202 or 400 HTTP status. |
|
Authentication errors will return an error code beginning with βAβ. |
|
Quota validation errors will return either 202 or 429 HTTP status. |
|
Quota errors will return an error code beginning with βQβ. |
API
- RANKADE_ERROR_PREFIX = 'R'
If Rankade server returns 400, 404, or 500, it should also return an error code beginning with βRβ.