mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +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"
|
TokenType = "Bearer"
|
||||||
};
|
};
|
||||||
|
|
||||||
PrivateProfile profile = await api.GetPrivateProfileAsync();
|
FullTrack track = await api.GetTrackAsync("1eV81a6H4xDdpi8r2C4tQT");
|
||||||
if(!profile.HasError()) {
|
if(!track.HasError()) {
|
||||||
Console.WriteLine(profile.DisplayName);
|
Console.WriteLine(track.Name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user