Skip to content

tsirysndr/go-deezer

Welcome to go-deezer 👋 *** 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-deezer is a Go client library for accessing the Deezer API

🚚 Install

go get github.com/tsirysndr/go-deezer

🚀 Usage

Import the package into your project.

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

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

client := deezer.NewClient()
res, _ := client.Artist.Get("27")
artist, _ := json.Marshal(res)
fmt.Println(string(artist))

✨ Coverage

Currently the following services are supported:

  • Get an Album
  • Return a list of album's comments
  • Return a list of album's fans
  • Return a list of album's tracks
  • Get an Artist
  • Get the top 5 tracks of an artist
  • Return a list of artist's albums
  • Return a list of artist's comments
  • Return a list of artist's fans
  • Return a list of related artists
  • Return a list of tracks
  • Return a list of artist's playlist
  • Returns the Top tracks
  • Returns the Top albums
  • Returns the Top artists
  • Returns the Top playlists
  • Returns the Top podcasts
  • Remove a comment
  • Add a comment to the album
  • Add a comment to the artist
  • Add a comment to the playlist
  • Return a list of albums selected every week by the Deezer Team
  • Returns all artists for a genre
  • Get a Genre
  • Returns all radios for a genre
  • Get the information about the API in the current country
  • Get the user's options
  • Get a playlist
  • Rate the playlist
  • Update the playlist
  • Delete the playlist
  • Add a playlist to the folder
  • Remove a playlist from the folder
  • Create a playlist
  • Add a playlist to the user's favorites
  • Remove a playlist from the user's favorites
  • Return a list of playlist's comments
  • Return a list of playlist's fans
  • Return a list of playlist's tracks
  • Return a list of playlist's recommendation tracks
  • Get a radio
  • Add a radio to the user's favorites
  • Remove a radio from the user's favorites
  • Returns a list of radio splitted by genre
  • Return the top radios (25 radios)
  • Get first 40 tracks in the radio
  • Returns a list of personal radio splitted by genre (as MIX in website)
  • Search tracks
  • Get track
  • Update a personal track
  • Delete a personal track
  • Add a track to the playlist
  • Order tracks in the playlist
  • Remove tracks from the playlist
  • Add a track to the user's favorites
  • Remove a track from the user's favorites
  • Return a list of user's favorite albums
  • Return a list of user's favorite artists
  • Returns a list of the user's top 25 tracks
  • Returns a list of the user's top albums
  • Returns a list of the user's top playlists
  • Returns a list of the user's top artists

Author

👤 Tsiry Sandratraina

Show your support

Give a ⭐️ if this project helped you!

About

Go library for accessing the Deezer API

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages