SpotifyApi.NetCore 1.0.2-alpha

This is a prerelease version of SpotifyApi.NetCore.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SpotifyApi.NetCore --version 1.0.2-alpha
NuGet\Install-Package SpotifyApi.NetCore -Version 1.0.2-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SpotifyApi.NetCore" Version="1.0.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpotifyApi.NetCore --version 1.0.2-alpha
#r "nuget: SpotifyApi.NetCore, 1.0.2-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SpotifyApi.NetCore as a Cake Addin
#addin nuget:?package=SpotifyApi.NetCore&version=1.0.2-alpha&prerelease

// Install SpotifyApi.NetCore as a Cake Tool
#tool nuget:?package=SpotifyApi.NetCore&version=1.0.2-alpha&prerelease

Spotify API .NET Core

Lightweight .NET Core wrapper for the Spotify Web API.

  • Opinionated
  • Async by default
  • Raw responses (as dynamic)
  • MIT license

Usage

// Load config from Environment variables (for example):
// SpotifyApiClientId=(SpotifyApiClientId)
// SpotifyApiClientSecret=(SpotifyApiClientSecret)
var config = new ConfigurationBuilder()
    .AddEnvironmentVariables()
    .Build();

// HttpClient and ClientCredentials can be reused. 
// Client creds are cached and refreshed
var http = new HttpClient();
var auth = new ClientCredentialsAuthorizationApi(http, config);
var api = new ArtistsApi(http, auth);

// Get an artist by Spotify Artist Id
dynamic response = await api.GetArtist("1tpXaFf2F55E7kVJON4j4G");

See tests for more examples.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.5.0 3,144 8/12/2020
3.4.0 5,257 7/12/2020
3.3.0 399 6/30/2020
3.2.1 517 6/25/2020
3.2.0 412 6/16/2020
3.1.0 478 5/30/2020
3.1.0-preview 314 5/29/2020
3.0.2 1,164 1/9/2020
3.0.1 505 1/6/2020
3.0.1-preview 520 8/11/2019
2.4.7 590 8/3/2019
2.4.6-beta 427 3/28/2019
2.4.4 560 3/22/2019
2.4.0 551 3/9/2019
2.3.9 636 2/2/2019
2.3.8 642 1/10/2019
2.3.6 671 1/8/2019
2.3.5 731 1/3/2019
2.3.3 658 1/1/2019
2.3.2 656 11/13/2018
2.2.0 643 11/5/2018
2.1.0 638 11/2/2018
2.0.2 729 9/16/2018
2.0.1 699 9/16/2018
2.0.0 818 8/19/2018
1.1.1 804 8/5/2018
1.1.0 755 8/4/2018
1.0.4-alpha 711 7/5/2018
1.0.3-alpha 594 7/3/2018
1.0.2-alpha 690 6/30/2018