{"repo":"Peter-Schorn/SpotifyAPI","free":true,"listed":false,"github":"https://github.com/Peter-Schorn/SpotifyAPI","clone":"git clone https://github.com/Peter-Schorn/SpotifyAPI.git","description":"A Swift library for the Spotify web API. Supports all endpoints.","language":"Swift","stars":314,"topics":["spotify","spotifyapi","swift","combine","swiftui","api","api-wrapper"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"SpotifyAPI A Swift library for the Spotify web API Features Supports all of the [Spotify web API endpoints][24], including playing content, creating playlists, and retrieving albums. Uses Apple's Combine framework, which makes chaining asynchronous requests a breeze Supports three different authorization methods Automatically refreshes the access token when necessary Read the full [documentation][1] and check out [this example iOS app][14] and this [example command-line app][23]. Sponsors bbauman1 Table of Contents Supported Platforms Installation Quick Start Authorizing with the Authorization Code Flow with Proof Key for Code Exchange Authorizing with the Authorization Code Flow Authorizing with the Client Credentials Flow [Saving Authorization Information to Persistent Storage][16] [Using the Player Endpoints][26] [Working with Paginated Results][27] [Debugging][28] [Running the Unit Tests][29] Supported Platforms Swift 5.6+ iOS 13+ macOS 10.15+ tvOS 13+ watchOS 6+ Linux Installation 1. In Xcode, open the project that you want to add this package to. 2. From the menu bar, select File Swift Packages Add Package Dependency... 3. Paste the URL for this repository into the search field. 5. Select the SpotifyAPI Library. 4. Follow the prompts for adding the package. Quick Start To get started, go to the [Spotify Developer Dashboard][2] and create an app. You will receive a client id and client secret. Then, click on \"edit settings\" and add a redirect URI. Usually, this should be","default_branch":null,"files":null,"tree":[],"storefront":"/r/Peter-Schorn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Peter-Schorn/SpotifyAPI/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."}