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,454 8/12/2020
3.4.0 5,972 7/12/2020
3.3.0 452 6/30/2020
3.2.1 572 6/25/2020
3.2.0 467 6/16/2020
3.1.0 536 5/30/2020
3.1.0-preview 367 5/29/2020
3.0.2 1,231 1/9/2020
3.0.1 565 1/6/2020
3.0.1-preview 572 8/11/2019
2.4.7 643 8/3/2019
2.4.6-beta 482 3/28/2019
2.4.4 612 3/22/2019
2.4.0 602 3/9/2019
2.3.9 695 2/2/2019
2.3.8 694 1/10/2019
2.3.6 731 1/8/2019
2.3.5 789 1/3/2019
2.3.3 712 1/1/2019
2.3.2 710 11/13/2018
2.2.0 699 11/5/2018
2.1.0 692 11/2/2018
2.0.2 792 9/16/2018
2.0.1 760 9/16/2018
2.0.0 878 8/19/2018
1.1.1 860 8/5/2018
1.1.0 812 8/4/2018
1.0.4-alpha 767 7/5/2018
1.0.3-alpha 646 7/3/2018
1.0.2-alpha 736 6/30/2018