GithubHelp home page GithubHelp logo

better-spotify-api's Introduction

Better Spotify API

A class based library for easily interacting with the Spotify Web API.

Why

There is really only one other NodeJS Spotify API wrapper, and I found it hard to use and a bit buggy for my needs. I feel most people utilizing the Spotify API are doing a lot of relational calls (eg: get a playlist, get a track on playlist, get artist info). This could be done better using abstractions for each type of data entity.

Goals

  • Absolutely zero dependencies, this project is meant to simple and small. There should be no need for build dependencies.

Roadmap

  • Implement all non 'user' centered API routes from here
  • 1:1 class models for all Spotify Entities: Playlist, Track, User, Audiobooks, Episodes, Shows, Albums, Artists
  • Smart Search, parse args cleanly. User should not have to think about doing any formatting.
  • For any paginated API requests, there should be both .page for AsyncGenerators and list that allows to get everything at once.
  • โœ… Auto retries with jitter, auto session refreshes
  • Full testability (with Jest): all entities should be class based unless it is a utility. This allows for better DX and easier testing.
  • User based authentication for authorized API requests
  • 'Player' integration

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.