mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
README example adapted, fixes #443
This commit is contained in:
parent
6dff475897
commit
8442145e88
@ -45,9 +45,9 @@ public static async void Example()
|
||||
TokenType = "Bearer"
|
||||
};
|
||||
|
||||
PrivateProfile profile = await api.GetPrivateProfileAsync();
|
||||
if(!profile.HasError()) {
|
||||
Console.WriteLine(profile.DisplayName);
|
||||
FullTrack track = await api.GetTrackAsync("1eV81a6H4xDdpi8r2C4tQT");
|
||||
if(!track.HasError()) {
|
||||
Console.WriteLine(track.Name);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user