pimmerks / spotifywebapi Goto Github PK
View Code? Open in Web Editor NEWA .net core wrapper for the Spotify Web API
License: MIT License
A .net core wrapper for the Spotify Web API
License: MIT License
The GetMyPlaylists function doesnt work correctly. Ive got the following error message:
Error converting value "spotify:playlist:3G1AlVTYExPN28BlCxf8GD" to type 'SpotifyWebApi.Model.Uri.SpotifyUri'. Path 'items[0].uri', line 34, position 53.
TODO:
I can only ge tthe first 100 songs of any playlist
FullPlaylist playlist = spotify.Playlist.GetPlaylist(uri).Result;
In the Scopes
flags enum UserLibraryModify
should be 256 but is instead given the value 265.
My project is targeting .NET Core 2.0. I was going to give your wrapper a try, but it seems you've only got support for .NET 4.7.
Hopefully you can add this to your to-do list ๐
Update wiki content
If there is any local songs that don't exist in Spotify's library in a playlist it will crash on trying to get that playlist. This is caused by the track not having an URI. Error: Newtonsoft.Json.JsonSerializationException: 'Error converting value "[name of local song]" to type 'SpotifyWebApi.Model.Uri.SpotifyUri'. Happens when calling "Playlist.GetPlaylistTracks".
The Token's TokenGenerated property is set in the constructor, but the property is not serializable to json.
When deserializing a Token from json, the property will have the current date instead of the date it was actually generated. This causes the IsExpired flag to be false, when it should be true.
Create classes for authentication
Create classes for api calls
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.