tryAGI.Spotify
1.0.2
Prefix Reserved
See the version list below for details.
dotnet add package tryAGI.Spotify --version 1.0.2
NuGet\Install-Package tryAGI.Spotify -Version 1.0.2
<PackageReference Include="tryAGI.Spotify" Version="1.0.2" />
<PackageVersion Include="tryAGI.Spotify" Version="1.0.2" />
<PackageReference Include="tryAGI.Spotify" />
paket add tryAGI.Spotify --version 1.0.2
#r "nuget: tryAGI.Spotify, 1.0.2"
#:package tryAGI.Spotify@1.0.2
#addin nuget:?package=tryAGI.Spotify&version=1.0.2
#tool nuget:?package=tryAGI.Spotify&version=1.0.2
<div class="docs-hero"> <h1>Spotify</h1> <p class="docs-hero-lead">Modern .NET SDK for Spotify generated from the provider's OpenAPI definition with AutoSDK.</p> <div class="docs-badge-row"> <a href="https://www.nuget.org/packages/tryAGI.Spotify/"><img alt="Nuget package" src="https://img.shields.io/nuget/vpre/tryAGI.Spotify"></a> <a href="https://github.com/tryAGI/Spotify/actions/workflows/dotnet.yml"><img alt="dotnet" src="https://github.com/tryAGI/Spotify/actions/workflows/dotnet.yml/badge.svg?branch=main"></a> <a href="https://github.com/tryAGI/Spotify/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/github/license/tryAGI/Spotify"></a> <a href="https://discord.gg/Ca2xhfBf3v"><img alt="Discord" src="https://img.shields.io/discord/1115206893015662663?label=Discord&logo=discord&logoColor=white&color=d82679"></a> </div> <div class="docs-hero-actions"> <a href="#usage">Get started</a> <a href="#support">Get support</a> </div> </div>
<div class="docs-feature-grid"> <div class="docs-feature-card"> <h3>Generated from the source spec</h3> <p>Built from <a href="https://developer.spotify.com/reference/web-api/open-api-schema.yaml">Spotify's OpenAPI definition</a> so the SDK stays close to the upstream API surface.</p> </div> <div class="docs-feature-card"> <h3>Auto-updated</h3> <p>Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.</p> </div> <div class="docs-feature-card"> <h3>Modern .NET</h3> <p>Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.</p> </div> <div class="docs-feature-card"> <h3>Docs from examples</h3> <p>Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.</p> </div> </div>
Usage
dotnet add package tryAGI.Spotify
using Spotify;
using var client = new SpotifyClient(accessToken);
Pass a Spotify OAuth access token; the SDK emits the required bearer authorization header.
Search
using var client = new SpotifyClient(apiKey);
// Search the Spotify catalog with one or more strongly typed result categories.
var result = await client.Search.SearchAsync(
q: "artist:Massive Attack",
type: [SearchTypeItem.Track],
limit: 10);
Saved tracks
using var client = new SpotifyClient(apiKey);
// Read the current user's saved tracks for preference and library synchronization workflows.
var page = await client.Tracks.GetUsersSavedTracksAsync(limit: 20, offset: 0);
// GetItems handles Spotify's composed paging schema and returns typed SavedTrackObject values.
var tracks = page.GetItems();
Support
<div class="docs-card-grid"> <div class="docs-card"> <h3>Bugs</h3> <p>Open an issue in <a href="https://github.com/tryAGI/Spotify/issues">tryAGI/Spotify</a>.</p> </div> <div class="docs-card"> <h3>Ideas and questions</h3> <p>Use <a href="https://github.com/tryAGI/Spotify/discussions">GitHub Discussions</a> for design questions and usage help.</p> </div> <div class="docs-card"> <h3>Community</h3> <p>Join the <a href="https://discord.gg/Ca2xhfBf3v">tryAGI Discord</a> for broader discussion across SDKs.</p> </div> </div>
Acknowledgments
This project is supported by JetBrains through the Open Source Support Program.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
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 |
|---|---|---|
| 1.0.3-dev.18 | 0 | 9/28/2026 |
| 1.0.3-dev.17 | 0 | 9/27/2026 |
| 1.0.3-dev.16 | 33 | 9/25/2026 |
| 1.0.3-dev.15 | 41 | 9/22/2026 |
| 1.0.3-dev.14 | 48 | 9/21/2026 |
| 1.0.3-dev.13 | 51 | 9/20/2026 |
| 1.0.3-dev.12 | 51 | 9/13/2026 |
| 1.0.3-dev.11 | 62 | 9/6/2026 |
| 1.0.3-dev.10 | 66 | 9/4/2026 |
| 1.0.3-dev.9 | 108 | 9/2/2026 |
| 1.0.3-dev.8 | 57 | 9/1/2026 |
| 1.0.3-dev.1 | 75 | 8/23/2026 |
| 1.0.2 | 474 | 8/23/2026 |
| 1.0.2-dev.2 | 71 | 8/23/2026 |
| 1.0.2-dev.1 | 66 | 8/23/2026 |
| 1.0.1 | 109 | 8/23/2026 |
| 1.0.0 | 113 | 8/23/2026 |