Coder Social home page Coder Social logo

lewis-fam / spotifyapi-net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnnycrazy/spotifyapi-net

0.0 0.0 0.0 5.61 MB

:sound: A Client for the Spotify Web API, written in C#/.NET

Home Page: http://johnnycrazy.github.io/SpotifyAPI-NET/

License: MIT License

Shell 0.19% JavaScript 3.23% C# 89.73% CSS 2.87% HTML 3.98%

spotifyapi-net's Introduction

SpotifyAPI-NET

SpotifyAPI-NET

Build SpotifyAPI-NET License SpotifyAPI.Web NuGET SpotifyAPI.Web.Auth NuGET

This open source library for the Spotify Web API provides an easy to use interface for .NET based languages, like C# and VisualBasic .NET. By using it you can query general spotify catalog information (tracks, albums and playlists), manage user-related content ("My Library", create and edit playlists) and control the users music players (play, stop, transfer playback, play specific track).

Features

  • ✅ Typed responses and requests to over 74 endpoints. Complete and always up to date.
  • ✅ Supports .NET Standard 2.X, which includes all major platforms, including mobile:
    • .NET Framework
    • UWP
    • .NET Core
    • Xamarin.Forms
  • ✅ Included HTTPClient, but feel free to bring your own!
  • ✅ Logging supported
  • ✅ Retry Handlers supported
  • ✅ Proxy support
  • ✅ Pagination support
  • ✅ All OAuth2 Authentications supported for use in ASP .NET and CLI apps
  • ✅ Modular structure, for easy unit testing

Example

using System;
using SpotifyAPI.Web;

class Program
{
    static async Task Main()
    {
      var spotify = new SpotifyClient("YourAccessToken");

      var track = await spotify.Tracks.Get("1s6ux0lNiTziSrd7iUAADH");
      Console.WriteLine(track.Name);
    }
}

More examples can be found on the website and in the SpotifyAPI.Web.Examples directory.

Docs and Usage

More Information, Installation-Instructions, Examples, Guides can be found at johnnycrazy.github.io/SpotifyAPI-NET/

Installation

Installation Instructions can be found in the Getting Started Guide

Donations

If you want to support this project or my work in general, you can donate a buck or two via the link below. However, this will be always optional!

Donate Link

spotifyapi-net's People

Contributors

johnnycrazy avatar dependabot[bot] avatar dependabot-preview[bot] avatar jimmyappelt avatar petrroll avatar jholzer avatar aleab avatar eltoncezar avatar salfab avatar gruhlum avatar gusper avatar cvertex avatar streibeb avatar esskar avatar wmbch avatar suprnova avatar nphmuller avatar jakoss avatar flownzu avatar trudan avatar dsafa avatar sparrowbrain avatar philippdrebes avatar h-philip avatar p-bojkowski avatar noelg14 avatar n1ckhansen avatar mlavende avatar mfro avatar morflk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.