Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tím souhlasíte. Další informace

API help

Overview
Data types

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

ValueDescription
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

name
string

Name of category

id
string

ID of category

tags
array

List of tags in this category

stats
struct

Statistics for one tag inside the category

name
struct

Tag name

numPieces
int

Number of pieces under this tag

numDifferent
int

Number of different xWGs under this tag

Call example

user.statistics("duis aute", "irure")