MyStats

Get User

Get information about a user

Endpoint

GET https://api.stats.skylerx.ir/v1/users/{identifier}

Input

The identifier can be either the UserId or Slug. You can get this id using the users profile url.

Example: https://stats.skyerlx.ir/ba

In this case ba is the identifier.

{
  identifier: string;
}

Output

PropTypeDefault
image
string
-
slug
string
-
spotifyId
string
-
username
string
-
bio?
string
-
history
{ hasImported: boolean; href: string }
-

Output example

{
    "history": {
        "hasImported": true,
        "href": "https://api.stats.skylerx.ir/v1/stats/users/ba/history"
    },
    "bio": "bro idek at this github.com/sklyerx",
    "username": "Ba",
    "spotifyId": "njvhy889bvyfjn6zpz5f1qd55",
    "slug": "ba",
    "image": "https://i.scdn.co/image/ab6775700000ee85286790c6608bbb29c3da161c"
}

On this page