Skip to content

tsirysndr/go-spotify

Welcome to go-spotify 👋

*** Work In Progress ***

GitHub code size in bytes GitHub go.mod Go version GitHub closed pull requests GitHub pull requests GitHub issues GitHub contributors License: BSD Twitter: tsiry_sndr

go-spotify is a Go client library for accessing the Spotify API

🚚 Install

go get github.com/tsirysndr/go-spotify

🚀 Usage

Import the package into your project.

import "github.com/tsirysndr/go-spotify"

Construct a new Spotify client, then use the various services on the client to access different parts of the Spotify API. For example:

client := spotify.NewClient("<YOUR TOKEN AUTHORIZATION>")
result, err := client.Track.List("6rqhFgbbKwnb9MLmUQDhG6")

✨ Coverage

Currently the following services are supported:

  • Search for an Item
  • Get Audio Analysis for a Track
  • Get Audio Features for Several Tracks
  • Get Audio Features for a Track
  • Get Several Tracks
  • Get a Track
  • Get Current User's Profile
  • Get a User's Profile
  • Remove Tracks from a Playlist
  • Get a List of Current User's Playlists
  • Get a Playlist's Tracks
  • Get a Playlist
  • Get a List of a User's Playlists
  • Add Tracks to a Playlist
  • Create a Playlist
  • Reorder or replace a Playlist's Tracks
  • Change a Playlist's Details
  • Get the Current User's Recently Played Tracks
  • Get Information About The User's Current Playback
  • Get a User's Available Devices
  • Get the User's Currently Playing Track
  • Skip User's Playback To Next Track
  • Skip User's Playback To Previous Track
  • Pause a User's Playback
  • Start/Resume a User's Playback
  • Set Repeat Mode On User's Playback
  • Seek To Position In Currently Playing Track
  • Toggle Shuffle For User's Playback
  • Transfer a User's Playback
  • Set Volume For User's Playback
  • Get User's Top Artists and Tracks
  • Remove Albums for Current User
  • Remove Tracks for Current User
  • Check Current User's Saved Albums
  • Check Current User's Saved Tracks
  • Get Current User's Saved Albums
  • Get Current User's Saved Tracks
  • Save Albums for Current User
  • Save Tracks for Current User
  • Unfollow Artists or Users
  • Unfollow a Playlist
  • Check if Current User Follows Artists or Users
  • Get Followed Artists
  • Check if Users Follow a Playlist
  • Follow Artists or Users
  • Follow a Playlist
  • Get Available Genre Seeds
  • Get a List of Browse Categories
  • Get a Single Browse Category
  • Get a Category's playlists
  • Get a List of Featured Playlists
  • Get a List of New Releases
  • Get Recommendations Based on Seeds
  • Get an Artist's Albums
  • Get an Artist's Related Artists
  • Get an Artist's Top Tracks
  • Get an Artist
  • Get Several Artists
  • Get an Album's Tracks
  • Get an Album
  • Get Several Albums
  • Search for an Item

Author

👤 Tsiry Sandratraina

Show your support

Give a ⭐️ if this project helped you!

About

Go library for accessing the Spotify API

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages