Spotify.NET/SpotifyAPI.Docs/docs/web/profiles.md
2019-08-17 00:40:16 +02:00

39 lines
831 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Profiles
## GetPrivateProfile
> Get detailed profile information about the current user (including the current users username).
**Parameters**
|Name|Description|Example|
|--------------|-------------------------|-------------------------|
Returns a [PrivateProfile](https://developer.spotify.com/web-api/object-model/#user-object-private)
**Usage**
```csharp
PrivateUser user = _spotify.GetPrivateProfile();
Console.WriteLine(user.DisplayName);
```
---
## GetPublicProfile
> Get public profile information about a Spotify user.
**Parameters**
|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**
```csharp
```
---