user.statistics
Description
Return user's statistics that can be found on the left side of user's profile on the website.
Params
- token
- string
-
Access token.
- user
- string
- optional
-
User name. If specified, returns statistics of specified user. If not specified, returns profile of authorized user.
Response
- response
- struct
-
- status
- int
- enum
-
Status code
Value Description 200
OK
400
Bad params
403
User has specified not to show his profile.
404
Specified user was not found.
500
Server error
- statusMessage
- string
-
Status code description
- numPieces
- int
-
Number of pieces in whole collection
- numDifferent
- int
-
Number of different xWGs in whole collection
- hasExactNumbers
- bool
-
True if user has all collection information available. False if user has at least one piece without collection information.
- categories
- array
-
List of the categories of tags
- tagCategory
- struct
-
One tag category
Call example
user.statistics("duis aute", "irure")