New method GetId

Just a simple way to get the track id to use in the Web API.
This commit is contained in:
eltoncezar 2016-03-17 19:03:01 -03:00
parent fd8572bf93
commit a13aadc986

View File

@ -157,5 +157,10 @@ namespace SpotifyAPI.Local.Models
return wc.DownloadData(url); return wc.DownloadData(url);
} }
} }
public string GetId()
{
return this.TrackResource.Uri.Substring(14);
}
} }
} }