Loading...

Tukui API Docs

What can you query with our API?

Want to query all addons from our network?

Live:

https://www.tukui.org/api.php?addons

Classic:

https://www.tukui.org/api.php?classic-addons

Classic TBC:

https://www.tukui.org/api.php?classic-tbc-addons

User Authentification with password encryption

URL Example

https://www.tukui.org/api.php?username=Test&password=8g2gyezj7nP45SVmvaszxg==
Field Type Description
status string return if user successfuly logged in.
error string return error code if login failed.
message string return an error message associated with the current error code if any.
username string return the username.
rank string return the current rank of the user.
warnings string return total number of warnings this user have from moderators and admins of Tukui.
posts string return the total number of posts the user made on our website.
regdate string return when the user registrated on our network.
email string return the user email address registrated with this website.
color string return user rank color in HEX format.
privmsg string return 1 you have unread message in your inbox, otherwise 0.
avatar string return the user avatar url.
ip string return the ip address of the user.
birthday string return birthday of the user.

Example response for OK status

{
    "status": "OK",
    "username": "Test",
    "rank": "Member",
    "warnings": "0",
    "posts": "0",
    "regdate": "August 3, 2017, 6:46 pm",
    "email": "email@example.com",
    "color": "#00B3FF",
    "privmsg": "1",
    "avatar": "https://www.tukui.org/images/default-avatar.png",
    "ip": "127.0.0.1",
    "birthday": ""
}

Example response for Error status

{
    "status": "ERROR",
    "error_code": "LOGIN_ERROR_PASSWORD",
    "message": "Incorrect password"
}

Optional Query String Parameters

encrypt-password=false This should be used for development purpose only. With this parameter you can send passwords in plain text.