Commit Graph

821 Commits

Author SHA1 Message Date
Jonas Dellinger
9a6bd1b456 Restructured Examples and added new one
* Added new ASP.NET Core 3 example
  This should show how this API can be implemented on the backend. It's not complete yet, features like token reloading is still missing.
  If you want to run this, use `dotnet user-secrets init` to generate your secrets file and update it with `spotify_client_id` and `spotify_secret_id`

* Fixed CLI Example
  The last page was never processed.
2019-11-12 15:02:36 +01:00
Jonas Dellinger
7ff69acf12 Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET 2019-11-11 17:01:31 +01:00
Jonas Dellinger
16ff9b8a7f Updated docs regarding Refresh of Tokens and fixed dead links 2019-11-11 17:01:23 +01:00
dependabot-preview[bot]
e523f789b1 Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.4.0 (#396)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.2.0 to 16.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.2.0...v16.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 08:27:56 +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
dependabot-preview[bot]
7b08f7cd84 Bump Moq from 4.13.0 to 4.13.1 (#392)
Bumps [Moq](https://github.com/moq/moq4) from 4.13.0 to 4.13.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.13.0...v4.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 10:39:03 +02:00
Jonas Dellinger
e5092ba779
Publish to GitHub Package Registry as well 2019-10-15 21:41:41 +02: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
dependabot-preview[bot]
bdef8b6514 Bump NUnit3TestAdapter from 3.15.0 to 3.15.1 (#382)
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.15.0 to 3.15.1.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.15...V3.15.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 18:45:07 +02:00
dependabot-preview[bot]
fb2daef2d1 Bump Moq from 4.12.0 to 4.13.0 (#381)
Bumps [Moq](https://github.com/moq/moq4) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.12.0...v4.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 18:44:51 +02:00
dependabot-preview[bot]
62f701e06c Bump NUnit3TestAdapter from 3.14.0 to 3.15.0 (#375)
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.14...V3.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 22:17:31 +02:00
Jonas Dellinger
376b109056 Wrong username 2019-08-17 00:46:38 +02:00
Jonas Dellinger
d4ac4c1ca9 Forgot Base URL 2019-08-17 00:43:43 +02:00
Jonas Dellinger
00f2362e6b Switched docs from mkdocs to vuepress 2019-08-17 00:40:16 +02:00
dependabot-preview[bot]
9dbcbdc941 Bump NUnit3TestAdapter from 3.13.0 to 3.14.0 (#369)
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.13...V3.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-16 22:51:28 +02:00
stevenwdv
37db6f2a9b Added TotalTracks property to SimpleAlbum and FullAlbum (#367) 2019-08-04 14:09:09 +02:00
Brandon
fb11f0deb7 Fix missing proxy config in ExchangeCode method (#363) 2019-07-30 18:54:02 +02:00
dependabot-preview[bot]
3851c95d4d Bump EmbedIO from 2.9.1 to 2.9.2 (#361)
Bumps [EmbedIO](https://github.com/unosquare/embedio) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/unosquare/embedio/releases)
- [Commits](https://github.com/unosquare/embedio/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-17 22:59:33 +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
dependabot-preview[bot]
b94c76f038 Bump Microsoft.NET.Test.Sdk from 16.1.1 to 16.2.0 (#358)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.1.1 to 16.2.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.1.1...v16.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-30 14:46:11 +02:00
Jonas Dellinger
76dc553527 Fixed versions for new EmbedIO release, closes #359 2019-06-30 14:45:01 +02:00
dependabot-preview[bot]
71ee3cad0a Bump Moq from 4.11.0 to 4.12.0 (#357)
Bumps [Moq](https://github.com/moq/moq4) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.11.0...v4.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-22 09:44:59 +02:00
dependabot-preview[bot]
98c743a3dd Bump EmbedIO from 2.8.0 to 2.9.0 (#355)
Bumps [EmbedIO](https://github.com/unosquare/embedio) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/unosquare/embedio/releases)
- [Commits](https://github.com/unosquare/embedio/compare/2.8.0...2.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-11 18:49:48 +02:00
Jonas Dellinger
7bfc0f9a4b
Update SpotifyAPI.Web.Auth.nuspec 2019-06-06 23:36:42 +02:00
dependabot-preview[bot]
94d84e1f9d Bump EmbedIO from 2.2.7 to 2.7.4 (#344)
* Bump EmbedIO from 2.2.7 to 2.7.4

Bumps [EmbedIO](https://github.com/unosquare/embedio) from 2.2.7 to 2.7.4.
- [Release notes](https://github.com/unosquare/embedio/releases)
- [Commits](https://github.com/unosquare/embedio/commits/2.7.4)

* Update SpotifyAPI.Web.Auth.csproj

* Updated code to be compatible with EmbedIO 2.8
2019-06-03 15:18:10 +02:00
Jonas Dellinger
f4b3e9fe40 Remove JSON TypeHandling, fixes #342 2019-06-03 15:05:54 +02:00
dependabot-preview[bot]
a8c8c419dd Bump Microsoft.NET.Test.Sdk from 16.1.0 to 16.1.1 (#352)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.1.0 to 16.1.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.1.0...v16.1.1)
2019-05-30 10:40:46 +02:00
dependabot-preview[bot]
fc7d7f2a2f Bump Moq from 4.10.1 to 4.11.0 (#350)
Bumps [Moq](https://github.com/moq/moq4) from 4.10.1 to 4.11.0.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.10.1...v4.11.0)
2019-05-28 22:00:01 +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
dependabot-preview[bot]
4ac8a98782 Bump NUnit.Console from 3.9.0 to 3.10.0 (#347)
Bumps [NUnit.Console](https://github.com/nunit/nunit-console) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/nunit/nunit-console/releases)
- [Changelog](https://github.com/nunit/nunit-console/blob/master/CHANGES.txt)
- [Commits](https://github.com/nunit/nunit-console/compare/v3.9...v3.10)
2019-05-26 13:49:05 +02:00
dependabot-preview[bot]
0ab8158594 Bump Microsoft.NET.Test.Sdk from 16.0.0-preview-20181205-02 to 16.1.0 (#346)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.0.0-preview-20181205-02 to 16.1.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.0.0-preview-20181205-02...v16.1.0)
2019-05-26 13:48:39 +02:00
dependabot-preview[bot]
e7b9a4832b Bump NUnit from 3.11.0 to 3.12.0 (#345)
Bumps [NUnit](https://github.com/nunit/nunit) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/master/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/compare/v3.11...v3.12)
2019-05-26 13:47:44 +02:00
dependabot-preview[bot]
4258359843 Bump NUnit3TestAdapter from 3.12.0 to 3.13.0 (#343)
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.12...V3.13)
2019-05-26 13:41:11 +02:00
Jonas Dellinger
67427cdb72 Added overload for NextPage stuff CursorPaging 2019-05-20 16:57:24 +02:00
Jonas Dellinger
4cfda50859 Added vscode to gitignore 2019-05-20 15:53:29 +02:00
Dan Spiteri
100c15699c Fix TokenSwapAuth html response actually returning text/plain instead of html (#335) 2019-04-14 21:50:26 +02:00
J.Holzer
ee8af2510a Redirect window says "can be closed now". So why not let javascript do the job? ;-) (#334) 2019-04-14 21:50:15 +02:00
Jonas Dellinger
c6de994f91
Update auth.md 2019-03-18 22:06:33 +01:00
Jonas Dellinger
2c093a75a0 Added escaped search method, fixes #131 2019-03-18 21:58:50 +01:00
Jonas Dellinger
fe9d02bd4f Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET 2019-03-18 21:24:18 +01:00
Jonas Dellinger
3917fbefdc Code Cleanup and ImplictGrantAuth name fix, fixes #320 2019-03-18 21:24:09 +01:00
Jordan
ea70fbc77b Secure, user-friendly and feature-rich authorization method (#286)
* Add new auth method and api factory for the auth method

* Add process documentation

* Solve random crash issues related to token collection

* Add customizable html responses, add more process control

* Add show dialog support, fix nulled html response

* Fix false trigger spam of access expiry event

* Add auto-retry GetToken, add fire auth fail on timeout

* Improve auto-refresh and refresh auth token validity checks

* Add ability to change number of get token retries

* Add get web API request cancelling

* Solve compiler warning

* Remove comment links, rename secure auth for clarity

* Rename secure auth for clarity in the docs

* Improve token swap usage example in docs

* Abstract the exchange server doc info for clarity

* Fix simontaen SpotifyTokenSwap link

* Change access expiry timing to be skippable

* Adapt TokenSwap for new convention, separate autorefresh and timer options
2019-03-18 17:20:17 +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
f31af2395c Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET 2019-02-19 22:24:18 +01:00
Jonas Dellinger
4870d15c76 Updated versions 2019-02-19 22:18:24 +01:00
Jonas Dellinger
92c063e35a
Update README.md 2019-01-10 01:06:35 +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