Get Current User's Profile
MeRetrieveResponse Me.Retrieve(MeRetrieveParams?parameters, CancellationTokencancellationToken = default)
GET/me
Get detailed profile information about the current user (including the current user's username).
Parameters
MeRetrieveParams parameters
Returns
Get Current User's Profile
MeRetrieveParams parameters = new();
var me = await client.Me.Retrieve(parameters);
Console.WriteLine(me);{
"id": "id",
"country": "country",
"display_name": "display_name",
"email": "email",
"explicit_content": {
"filter_enabled": true,
"filter_locked": true,
"published": true
},
"external_urls": {
"published": true,
"spotify": "spotify"
},
"followers": {
"href": "href",
"published": true,
"total": 0
},
"href": "href",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"product": "product",
"published": true,
"type": "type",
"uri": "uri"
}Returns Examples
{
"id": "id",
"country": "country",
"display_name": "display_name",
"email": "email",
"explicit_content": {
"filter_enabled": true,
"filter_locked": true,
"published": true
},
"external_urls": {
"published": true,
"spotify": "spotify"
},
"followers": {
"href": "href",
"published": true,
"total": 0
},
"href": "href",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"product": "product",
"published": true,
"type": "type",
"uri": "uri"
}