Commit Graph

88 Commits

Author SHA1 Message Date
Farkas Olivér
b74f5c2148
Update RecommendationsResponse to match Spotify API (#950) 2024-02-27 21:29:20 +01:00
Jonas Dellinger
dcec5467a8 fix null checks and duplicate EOL 2024-02-10 13:52:30 +01:00
XY Wang
d5059820b6
Add Locale param (#835)
* Add Locale

* Add ArtistRequest, ArtistsRelatedArtistsRequest

* Add ArtistRequest, ArtistsRelatedArtistsRequest

* Add Locale
2024-02-10 12:56:59 +01:00
Jonas Dellinger
78cc5a78da enable unused import warning and format code 2024-02-10 11:42:55 +01:00
Jonas Dellinger
4f94b564ea add HtmlDescription and TotalEpisodes fields 2024-02-10 11:42:37 +01:00
Lewis-Fam
9dbd210a2f
Fixed issues #926, and #928. (#942)
* Fixed issues #926, and #928.
Added JsonConverter attributes to properties.

* Fixed complier warning CA1305
2024-02-10 11:03:22 +01:00
Noel Griffin
a27c3729c8
Add Users Top Tracks / Users Top Artists to UserClient (#938)
* add top tracks & artists endpoints

* fix file extenstion

* added TODO

* Add Methods to interface

* Add Top items query class

* implement query into UserProfileClient.cs - Top Requests

* Tidy Up Naming

* Removed random json file change

* Added Tests.

* run formatter

* remove additional namespace

---------

Co-authored-by: Jonas Dellinger <jonas@dellinger.dev>
2024-01-19 19:56:07 +01:00
Jonas Dellinger
4aea443038 use recommendations for latest .NET versions 2023-11-03 22:57:55 +01:00
Jonas Dellinger
4d577bccf0 remove SimplePlaylist 2023-05-27 22:28:31 +02:00
Jonas Dellinger
cb2e0cccc8 run formatter 2022-11-27 13:29:35 +01:00
Jonas Dellinger
c5485a7183 replace body ids with query parameter ids 2022-11-27 13:07:50 +01:00
Jonas Dellinger
cc90c5afa4 Make Fields List instead of IList, fixes #779 2022-11-18 14:07:19 +01:00
Jonas Dellinger
9b8effe270 RemoveAlbums - send ids via query parameter, fixes #828 2022-11-18 12:59:15 +01:00
Gavin
b39941f523
Adding Endpoint to get a User's Queue (#807)
* Adding support to Get a player queue

* Update to return Tracks and Episodes
2022-11-08 21:58:05 +01:00
Sascha Kiefer
d363789d42
feat: implements markets API (#787)
* feat: implements markets API

* fix: use correct constructor name
2022-08-11 08:54:09 +02:00
Jonas Dellinger
9ca573f748
Add RefreshToken to AuthorizationCodeRefreshResponse 2021-08-20 16:11:19 +02:00
Jonas Dellinger
4340515471 Added TrackMeta and TrackAudio, closes #648 2021-08-11 19:04:04 +02:00
Pawel Bojkowski
c4704abae4
Fixing #607 + Refactoring (#608)
* Fixing #607 + Refactoring

Added me/episodes and done some refactoring

* Fixing LibrarySaveEpisodesRequest #607

Fixing the remove of epsides.

* Fixed some issues after review #608

* Fixing some small issues

Co-authored-by: DEV-PBO-DEV <72922549+DEV-PBO-DEV@users.noreply.github.com>
2021-08-10 22:17:51 +02:00
Jonas Dellinger
16a831ad40 Some smaller fixes and ignore case when parsing type of iplayableitem, fixes #604 2021-05-01 17:11:24 +02:00
muhmuhhum
d72235e42b
Add TotalTracks to SimpleAlbum.cs and FullAlbum.cs (#597) 2021-04-17 23:38:59 +02:00
Jonas Dellinger
ddb1dc0cc0 PlayHistoryItem SimpleTrack --> FullTrack, fixes #591 2021-04-15 17:25:36 +02:00
Jonas Dellinger
aab8c5ddcb
Fix potential race condition inside RequestParams (#571) 2021-03-03 09:36:46 +01:00
Jonas Dellinger
8dd31420ea Updated to .NET analyzers and fixed warnings 2020-12-26 18:28:44 +01:00
Jonas Dellinger
3fa69c56f0 Update to .NET 5.0 2020-11-13 14:43:00 +01:00
Jonas Dellinger
952d46f58f Add Positions body param to PlaylistRemoveItemsRequest, #501 2020-08-27 13:55:42 +02:00
Tim Ittermann
a9c4aba7fa
Add interfaces for tokens (#499)
* Add interfaces for tokens

* Delete UpgradeLog.htm

* Changed Namespace

Co-authored-by: Jonas Dellinger <jonas@dellinger.dev>
2020-08-26 15:38:00 +02:00
Jonas Dellinger
9d22c04764 Added PKCE stuff: Initial request & refresh + PKCEUtil for generating verifiers 2020-08-06 18:48:49 +00:00
Jonas Dellinger
51ed9368cb Added Playlists to SearchResponse, fixes #480 2020-07-15 21:13:20 +02:00
Jonas Dellinger
d7538fb23a Added Description and Followers to FullPlaylist, fixes #484 2020-07-15 21:11:40 +02:00
Jonas Dellinger
f3c8a9d620 Made more fields nullable, they can be excluded using fields query param, fixes #477 2020-07-13 16:03:19 +02:00
Jonas Dellinger
6f0e1b6f80 Only list enums when a flag attribute is pressent, fixes #478 2020-07-13 15:49:36 +02:00
Jonas Dellinger
d73c874400 Added market and fields parameter for PlaylistGetRequest 2020-06-29 22:58:50 +02:00
Jonas Dellinger
bfd9663fde Better exception and docs for missing type info, fixes #472 2020-06-29 22:52:15 +02:00
Jonas Dellinger
27773caa28 Empty lists are correctly excluded from query params, fixes #471 2020-06-29 22:42:35 +02:00
Jonas Dellinger
c672b6158b Added test case for serializing with PlaylistElementConverter 2020-06-16 20:49:29 +02:00
Jonas Dellinger
8485e23943 PlayableItemConverter CanWrite is now false, should allow serialization 2020-06-16 20:02:58 +02:00
Jonas Dellinger
de98bc012f Added IPaginatble to also support Cursor based paging 2020-06-13 12:55:48 +02:00
Jonas Dellinger
208b90fb56 Fixed cache logic inside of RequestParams, fixes #458 2020-06-09 03:04:51 +02:00
Jonas Dellinger
ec08baf80b Rename all Credentials* classes to correct ClientCredentials* 2020-06-07 13:29:15 +02:00
Jonas Dellinger
c829adde0b Added docs for IPlayableItem, fixes #454 2020-06-06 17:43:49 +02:00
Jonas Dellinger
f04f175775 Setup projects for nuget publishing 2020-06-04 20:29:33 +02:00
Jonas Dellinger
ef60a9f1f2 Added TokenSwapAuth and console example for it #451 2020-06-02 16:34:24 +02:00
Jonas Dellinger
0a6570632b Finished inline XML docs for now :party: #451 2020-05-31 16:57:58 +02:00
Jonas Dellinger
5ae126699c Pagination implementation adapted - Less methods,more defaults #451 2020-05-31 15:56:49 +02:00
Jonas Dellinger
7445d3ca0e 📘 More docs! #451 2020-05-31 00:11:05 +02:00
Jonas Dellinger
c34167ecb4 More Docs #451 2020-05-30 23:32:06 +02:00
Jonas Dellinger
5da15c1c29 More Docs and spotify.LastResponse #451 2020-05-30 23:20:42 +02:00
Jonas Dellinger
0ef07bed0b Added Reflection Cache for RequestParams #451 2020-05-29 13:06:27 +02:00
Jonas Dellinger
b2884debcd Started with Documentation #451 2020-05-28 16:30:17 +02:00
Jonas Dellinger
f1ca557c6e Enabled nullable for most projects 2020-05-25 18:00:47 +02:00