{"repo":"Abdullah-Malik/spotified","free":true,"listed":false,"github":"https://github.com/Abdullah-Malik/spotified","clone":"git clone https://github.com/Abdullah-Malik/spotified.git","description":"A strongly typed Spotify Web API SDK for the Browser and Node.js","language":"TypeScript","stars":114,"topics":["client","npm-package","sdk","spotify-api","web-api"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Spotified Spotified is a strongly typed Spotify Web API SDK designed for both the Browser and Node environments. It offers a user-friendly interface for interacting with the Spotify API, supporting all authorization flows and API endpoints. Spotified requires Node.js 18.0.0 or higher and a modern browser as it uses fetch for making HTTP requests in the Browser and Node. The SDK includes both ESM and CommonJS builds, ensuring that it can be used in the Browser and Node. Table of Contents - Installation - Usage - Initialization - Authorization Flows - Making API Calls - Examples - API Reference - Test Coverage - Contributing - License Installation You can install Spotified using npm: Or using yarn: Usage Initialization First, import and initialize the Spotified client: Authorization Flows Spotified supports various authorization flows. Choose the one that best fits your application's needs: 1. Authorization Code Flow: Best for long-running applications in secure environments, such as web apps running on a server. 2. Authorization Code Flow with PKCE (Proof Key for Code Exchange): Ideal for mobile and desktop applications, or any scenario where the client secret can't be safely stored. 3. Client Credentials Flow: Suitable for server-to-server authentication where your application needs to access its own data rather than a user's data. 4. Implicit Grant Flow: Best for client-side applications that need short-lived access tokens and can't securely store a client secret. For detail","default_branch":null,"files":null,"tree":[],"storefront":"/r/Abdullah-Malik","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Abdullah-Malik/spotified/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}