Get user's info

Description

Allows you to get detailed user information and a list of his kcys.

Endpoint

http://karmacracy.com/api/v1/user/{u}

Arguments

Name Type Description
u string Username. (required)
appkey string API key. (required) Ask for one!
kcy int Optional. if it is set and equals to 1, it will give you back users kcys. In that case, you can use "from" and "num" parameters to control pagination.
from int The first element of the list. It starts with 1.
Default value: 1.
num int The ammount of elements returned.
Default value: 10.

Output

JSON format object.

* error (optional) = variable that indicates if an error occurred
* data = output object with "user" object inside.

Example

http://karmacracy.com/api/v1/user/jmarti?kcy=1&from=11&num=10&appkey=xxxx