Login

POST https://account.y8.com/api/user_data/login
  • app_id - Application id
  • login - User’s email address
  • password - User’s password

Register

POST https://account.y8.com/api/user_data/register
  • app_id - Application id
  • nickname - User’s nickname
  • email - User’s email address
  • password - User’s password

Submit User Data

POST https://account.y8.com/api/user_data/submit
  • session - User session from login call
  • key - A index to store the data under
  • value - The data to be stored

WARNING: Try to make as few of user data submission calls as possible, and try to keep their size small (preferably <1Kb, trying to not exceed 30Kb).

Retrieve User Data

POST https://account.y8.com/api/user_data/retrieve
  • session - User session from login call
  • key - An index to find the data by

Remove User Data

POST https://account.y8.com/api/user_data/remove
  • session - User session from login call
  • key - An index to find the data by

Get Leaderboard

GET https://account.y8.com/api/leaderboard.json
  • client_id - Application id. Same as app_id

Get Athorized User’s Profile

POST https://account.y8.com/api/user_data/profile2/show/
  • session - User session from login call

Get Another User’s Profile

GET https://account.y8.com/profiles/[PID].json
  • pid - The unique pid of another user. This is returned after authorization.

Get Another User’s Avatar

GET https://account.y8.com/profiles/PID/profile_avatar
  • pid - The unique pid of another user. This is returned after authorization.