Commit Graph

158 Commits

Author SHA1 Message Date
Jonas Dellinger
997d29cfc5 Response Models -> no public set; Request models -> no set for collections 2020-05-05 15:30:00 +02:00
Jonas Dellinger
28531ab007 Added analyzers 2020-05-05 05:45:33 +02:00
Jonas Dellinger
40397fa4f6 Added paginator and some more ConfigureAwaits 2020-05-05 05:26:37 +02:00
Jonas Dellinger
d36f360232 Started TracksClient 2020-05-04 23:04:59 +02:00
Jonas Dellinger
9a7d46fb5a Added Follow Endpoint 2020-05-04 23:02:53 +02:00
Jonas Dellinger
7c94de2110 Allow Enum in QueryParams and added more endpoints 2020-05-03 22:34:03 +02:00
Jonas Dellinger
c9a374080b Added another endpoint and made sure the logger works for bodys <50 chars 2020-05-03 13:11:53 +02:00
Jonas Dellinger
7310c9bc8d Added Logger interface & Simple Logger implementation 2020-05-03 13:00:50 +02:00
Jonas Dellinger
813bba896f And some more playlists endpoints! 2020-05-03 09:06:28 +02:00
Jonas Dellinger
5d071de190 Added more playlists endpoint 2020-05-03 08:10:41 +02:00
Jonas Dellinger
93bcff5c1d Added some more playlists endpoints 2020-05-03 01:00:35 +02:00
Jonas Dellinger
870b13eb2d Finished shows, started playlists 2020-05-02 22:48:21 +02:00
Jonas Dellinger
be7bdb6a93 Added Retry Handler and removed old enums 2020-05-02 19:57:31 +02:00
Jonas Dellinger
2b5a826181 Added FeaturedPlaylists 2020-05-02 14:58:11 +02:00
Jonas Dellinger
8074ff6331 Added RecommendationGenres and NewReleases 2020-05-02 13:52:01 +02:00
Jonas Dellinger
9f6729ad60 Started with Unit Tests and added .editorconfig for syntax settings
Disabled examples for now
2020-05-02 13:04:26 +02:00
Jonas Dellinger
2c4463529b Start refactoring for version 6 2020-05-01 20:05:28 +02:00
o-litnon
e44cc97316
Audio -Analysis (#447) 2020-04-29 12:12:06 +02:00
Jonas Dellinger
22d800d487 OpenBrowser returns false if it was unsuccessful 2020-03-26 18:34:32 +01:00
Jonas Dellinger
466e61523d VSCode Formatter - Also bumped tests to net core 3.1 2020-03-09 20:47:39 +01:00
Jonas Dellinger
307d69945e Added AddToQueue 2020-03-09 20:28:41 +01:00
Marina
284d80ff6f
update url for FollowPlaylist/UnfollowPlaylist/IsFollowingPlaylist (#424) 2020-03-03 20:28:09 +01:00
Jakub Syty
c869f0ddcd
Remove invalid obsolete annotation (#423) 2020-03-03 20:27:14 +01:00
dependabot-preview[bot]
2173e7a8cc Bump Newtonsoft.Json from 12.0.2 to 12.0.3 (#399)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.2 to 12.0.3.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.2...12.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 08:27:39 +01:00
Alex
7d04f58c74 Typo Fix in HasPreviousPage() (#387)
was returning the status of Next instead of Previous
2019-09-20 00:17:43 +02:00
stevenwdv
37db6f2a9b Added TotalTracks property to SimpleAlbum and FullAlbum (#367) 2019-08-04 14:09:09 +02:00
Jonas Dellinger
4933deaf26 Added support for proxy configs in auth flows, closes #360 2019-07-17 17:39:51 +02:00
Jonas Dellinger
0a9499c7d1 Use dotnet pack and update versions accordingly 2019-07-17 17:26:35 +02:00
Jonas Dellinger
f4b3e9fe40 Remove JSON TypeHandling, fixes #342 2019-06-03 15:05:54 +02:00
dependabot-preview[bot]
a21c037652 Bump Newtonsoft.Json from 12.0.1 to 12.0.2 (#348)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.1 to 12.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.1...12.0.2)
2019-05-27 00:05:29 +02:00
Jonas Dellinger
67427cdb72 Added overload for NextPage stuff CursorPaging 2019-05-20 16:57:24 +02:00
Jonas Dellinger
2c093a75a0 Added escaped search method, fixes #131 2019-03-18 21:58:50 +01:00
Jonas Dellinger
3917fbefdc Code Cleanup and ImplictGrantAuth name fix, fixes #320 2019-03-18 21:24:09 +01:00
Jonas Dellinger
278927f704 Merge branch 'playlist_change_28_02_19' 2019-03-16 14:52:34 +01:00
Mike Lavender
f173e23e1a Support uploading an image for a playlist (#318)
* Support uploading an image for a playlist

* Support uploading a playlist image

* Support uploading a playlist image

Support uploading a playlist image

* Add support for new playlist endpoint without userid
2019-03-06 20:57:36 +01:00
Jonas Dellinger
ea5d5248d3 prepare for playlist change 2019-02-19 22:53:36 +01:00
Jonas Dellinger
4870d15c76 Updated versions 2019-02-19 22:18:24 +01:00
Jonas Dellinger
3c98a63873 Added error handling for invalid json errors, 500 gateway etc., fixes #303 2018-12-22 21:40:31 +01:00
Jonas Dellinger
3b7fc1a203 Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET 2018-12-22 21:13:25 +01:00
Jonas Dellinger
2f8197359d Updated docs & Updated deps, should fix #304 2018-12-22 21:12:57 +01:00
Steven
30d396618b Added app remote control scope (#309)
* Added app-remote-control authorization scope

* Fixed tabs to spaces
2018-12-17 22:07:57 +01:00
Florian Jäckel
467984c6f8 Clear DefaultRequestHeaders when adding a new header dictionary (#302) 2018-10-27 13:56:30 +02:00
Florian Jäckel
9859e9d4ae Check if the header exists and replace it rather than add it again (#299) 2018-10-24 23:21:13 +02:00
Alessandro Attard Barbini
ec99296f7d Added missing currently_playing_type field to PlaybackContext (#292) 2018-10-01 19:53:04 +02:00
Philip
6591b5f64c Changed description of AddPlaylistTrack/Async (#290)
* Changed description of AddPlaylistTrack/Async

* Changed description of RemovePlaylistTrack/Async
2018-09-22 17:07:44 +02:00
Jonas Dellinger
6056fdf453 Added various fields, fixes #289 2018-09-21 14:51:30 +02:00
Justin Swanson
67cb3e42f1 TooManyRequests Handling (#282)
* SpotifyHttpStatusCode

A small supplementary enum for Spotify specific codes.  Only contains TooManyRequests currently, but more can be added.

* TooManyRequests Retry Handling

Will now parse and wait the Spotify recommended wait time.  Also has the option to not consume a retry attempt on this type of error

* TryGetTooManyRequests refactored to GetTooManyRequests

To keep the library consistent

* Removed SpotifyHttpStatusCode
2018-09-21 14:42:52 +02:00
kg73
fa0f3e2d90 Modified SpotifyWebClient to use a single HttpClient per class lifeti… (#287)
* Modified SpotifyWebClient to use a single HttpClient per class lifetime. This will allow the HttpClient to properly pool connections.
Reference: https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client

* Added suggested changes. Moved ProxyConfig to the constructor of SpotifyWebClient.
2018-09-17 14:44:22 +02:00
kg73
81fe1763f4 Added position_ms parameter to ResumePlayback. position_ms sets the seek time on the track, whereas offset deals with the song order in a playlist or list of tracks. (#288) 2018-09-17 14:44:01 +02:00
Jonas Dellinger
2f8bf6877f Added support for .net 4.6 2018-09-04 14:39:07 +02:00
Jonas Dellinger
f97fd83cca Fixed nuspecs 2018-08-24 15:32:20 +02:00
Jonas Dellinger
f6ef3daa13 Disable XML comment spam 2018-08-24 14:57:37 +02:00
Jonas Dellinger
05d1f4de02 Updated nuspecs and publish script 2018-08-24 14:51:48 +02:00
Jonas Dellinger
601b74d3c1 Merge branch 'v3' 2018-08-24 14:31:41 +02:00
Jonas Dellinger
b5b09432b3 Enable XML Docs and nuget specs 2018-08-24 14:30:50 +02:00
Gruhlum
a82bbbf5b7 Adds collaborative and description to UpdatePlaylist and CreatePlaylist 2018-08-24 14:13:25 +02:00
Gruhlum
acc59d11bf Adds collaborative bool and description to UpdatePlaylist 2018-08-24 14:12:49 +02:00
Jonas Dellinger
5c2a901f75 Updated to .NET Core and reimplemented auth strategies 2018-08-24 14:10:13 +02:00