2016-08-20 11:49:09 +01:00
|
|
|
|
##GetPrivateProfile
|
|
|
|
|
<span class="label label-warning">AUTH REQUIRED</span>
|
|
|
|
|
> Get detailed profile information about the current user (including the current user’s username).
|
|
|
|
|
|
2018-12-22 20:12:57 +00:00
|
|
|
|
**Parameters**
|
2016-08-20 11:49:09 +01:00
|
|
|
|
|
|
|
|
|
|Name|Description|Example|
|
|
|
|
|
|--------------|-------------------------|-------------------------|
|
|
|
|
|
|
|
|
|
|
Returns a [PrivateProfile](https://developer.spotify.com/web-api/object-model/#user-object-private)
|
|
|
|
|
|
|
|
|
|
**Usage**
|
|
|
|
|
```cs
|
|
|
|
|
PrivateUser user = _spotify.GetPrivateProfile();
|
|
|
|
|
Console.WriteLine(user.DisplayName);
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
##GetPublicProfile
|
|
|
|
|
|
|
|
|
|
> Get public profile information about a Spotify user.
|
|
|
|
|
|
2018-12-22 20:12:57 +00:00
|
|
|
|
**Parameters**
|
2016-08-20 11:49:09 +01:00
|
|
|
|
|
|
|
|
|
|Name|Description|Example|
|
|
|
|
|
|--------------|-------------------------|-------------------------|
|
|
|
|
|
|userId| The user's Spotify user ID. | EXAMPLE
|
|
|
|
|
|
|
|
|
|
Returns a [PublicProfile](https://developer.spotify.com/web-api/object-model/#user-object-public)
|
|
|
|
|
|
|
|
|
|
**Usage**
|
|
|
|
|
```cs
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
---
|