{"id":23815218,"url":"https://github.com/afrazcodes/spotifykit","last_synced_at":"2026-05-03T10:30:16.428Z","repository":{"id":62455897,"uuid":"466586048","full_name":"AfrazCodes/SpotifyKit","owner":"AfrazCodes","description":"Apple framework for Spotify Authentication \u0026 Interacting with Services","archived":false,"fork":false,"pushed_at":"2022-03-05T23:39:01.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-01T15:43:02.533Z","etag":null,"topics":["audio","ios","spotify","swift"],"latest_commit_sha":null,"homepage":"https://developer.spotify.com/documentation/web-playback-sdk/reference/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AfrazCodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-05T22:56:23.000Z","updated_at":"2024-08-04T04:57:00.000Z","dependencies_parsed_at":"2022-11-02T00:17:28.268Z","dependency_job_id":null,"html_url":"https://github.com/AfrazCodes/SpotifyKit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfrazCodes%2FSpotifyKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfrazCodes%2FSpotifyKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfrazCodes%2FSpotifyKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AfrazCodes%2FSpotifyKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AfrazCodes","download_url":"https://codeload.github.com/AfrazCodes/SpotifyKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232150097,"owners_count":18479580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","ios","spotify","swift"],"created_at":"2025-01-02T04:15:25.187Z","updated_at":"2026-05-03T10:30:16.370Z","avatar_url":"https://github.com/AfrazCodes.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpotifyKit\n\niOS Library to authenticate and interact with Spotify services.\n\n## Install\n\nYou can integrate this framework via Cocoapods.\n\n```swift\npod 'Spotify-Kit'\n```\n\n## Features\n\n- Spotify OAuth Support: Log In, Refresh Token, Persist Credentials Securely\n- Fetch Albums\n- Fetch Artists\n- Fetch Playlists\n- Search Content\n- Get User Specific Top Content (artists, tracks, playlists)\n- Get New Releases\n- Update/Create/Delete content in user library (auth required)\n- Get Top Charts \u0026 Trending Content\n- More 🚀\n\n## Usage\n\n1. Configure the SDK via the singleton's configure method.\n\n```swift\nlet config = SpotifyKitConfiguration(...)\nSpotifyAuthManager.shared.configure(config)\n```\n\n2. Leverage auth APIs to authenticate a user and obtain OAuth credentials.\n\n3. Make calls against SpotifyAPIManager. The library handles creation of signed/authenticated requests for you.\n\n```swift\n// Fetch a users top streamed tracks of all time\nSpotifyAPIManager.shared.getTopContent(\n  .tracks,\n  for: .lifetime\n) { result in\n  switch result {\n    case .success(let tracks):\n      for track in tracks {\n          print(track.name)\n          print(track.artist)\n          print(track.preview_url)\n          // ...\n      }\n    csae .failure(let error):\n      print(error.localizedDescription)\n      break\n  }\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafrazcodes%2Fspotifykit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafrazcodes%2Fspotifykit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafrazcodes%2Fspotifykit/lists"}