mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
New method GetId
Just a simple way to get the track id to use in the Web API.
This commit is contained in:
parent
fd8572bf93
commit
a13aadc986
@ -157,5 +157,10 @@ namespace SpotifyAPI.Local.Models
|
||||
return wc.DownloadData(url);
|
||||
}
|
||||
}
|
||||
|
||||
public string GetId()
|
||||
{
|
||||
return this.TrackResource.Uri.Substring(14);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user