-
Notifications
You must be signed in to change notification settings - Fork 0
Site endpoint
- POST site/check_email
- POST site/reset_password
- GET site/top_likes
- POST site/register
- GET site/top_scores
- POST site/login
This method checks if the provided email address is registered on the server. If the email is not registered, the server returns a captcha for registration.
Field | Notes |
---|---|
e | The email address to check. |
Type | Field | Notes |
---|---|---|
bool | registered | If the email address is registered on the server. |
string | capId | Optional. The captcha ID to validate. |
int | capLen | Optional. The number of characters the captcha has. |
string | capImg | Optional. The base64-encoded PNG captcha to validate. |
bool | sentNewPassword | Optional. Unknown purpose. |
This method sends a new password to the email address of the provided account.
Field | Notes |
---|---|
e | The email address of the account. |
Type | Field | Notes |
---|---|---|
bool | aws | Unknown purpose. |
bool | success | If the new password has been sent to the email address. |
This method returns a ranking of the 20 most liked accounts on the server.
This method has no parameters.
Type | Field | Notes |
---|---|---|
array<UserLikeInfo> | items | A ranking of the most liked accounts. |
bool | ok | If the request has been successful. |
This method creates a new account with the provided email address if the captcha is valid. If the request is successful, the response sets a session cookie unn_session
for handling the session.
Field | Notes |
---|---|
e | The email address of the account. |
cI | The captcha ID from site/check_email. |
cA | The captcha answer. |
Type | Field | Notes |
---|---|---|
bool | success | If the registration has been successful. |
string | nickname | The account nickname. This entry is unused. |
int | i | The account ID. |
string | n | The account nickname. |
This method tries to login the client with the provided email address and password. If the request is successful, the response sets a session cookie unn_session
for handling the session.
Field | Notes |
---|---|
e | The email address of the account. |
p | The MD5 hash of the password. |
Type | Field | Notes |
---|---|---|
int | i | The account ID. |
string | n | The account nickname. |
string | t | Unknown purpose. Looks like a remnant of minI. |
bool | hP | Unknown purpose. |
string | nF | The number of favorites of the account. |
string | nL | The number of likers of the account. |
string | state | An object of the current save state of the account as a string. |
int | version | The version the last save was made. |
int | revision | The revision the last save was made. |
bool | success | If the login has been successful. |
This object holds information about the user's relationship with the client's account and the number of likes it has.
Type | Field | Notes |
---|---|---|
string | i | The numeric ID of the user. |
string | n | The user nickname. |
string | minI | An object holding the Pou data of the user as a string. |
string | l | Unknown purpose. |
string | nL | The number of likes the user has. |
int | iL | A bool telling if the client's account likes the user as an integer. |
int | lM | A bool telling if the user likes the client's account as an integer. |