https://github.com/tsirysndr/go-deezer
Go library for accessing the Deezer API
https://github.com/tsirysndr/go-deezer
deezer deezer-api golang
Last synced: 2 months ago
JSON representation
Go library for accessing the Deezer API
- Host: GitHub
- URL: https://github.com/tsirysndr/go-deezer
- Owner: tsirysndr
- License: bsd-3-clause
- Created: 2019-12-18T19:57:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-04T09:21:51.000Z (over 5 years ago)
- Last Synced: 2025-03-25T18:40:22.170Z (3 months ago)
- Topics: deezer, deezer-api, golang
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Welcome to go-deezer 👋 *** Work In Progress ***
go-deezer is a Go client library for accessing the [Deezer API](https://developers.deezer.com/api)
## 🚚 Install
```sh
go get github.com/tsirysndr/go-deezer
```## 🚀 Usage
Import the package into your project.
```Go
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:
```Go
client := deezer.NewClient()
res, _ := client.Artist.Get("27")
artist, _ := json.Marshal(res)
fmt.Println(string(artist))
```## ✨ Coverage
Currently the following services are supported:
- [x] Get an Album
- [x] Return a list of album's comments
- [x] Return a list of album's fans
- [x] Return a list of album's tracks
- [x] Get an Artist
- [x] Get the top 5 tracks of an artist
- [x] Return a list of artist's albums
- [x] Return a list of artist's comments
- [x] Return a list of artist's fans
- [x] Return a list of related artists
- [x] Return a list of tracks
- [x] Return a list of artist's playlist
- [x] Returns the Top tracks
- [x] Returns the Top albums
- [x] Returns the Top artists
- [x] 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
- [x] Returns all artists for a genre
- [x] Get a Genre
- [ ] Returns all radios for a genre
- [ ] Get the information about the API in the current country
- [ ] Get the user's options
- [x] 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
- [x] Return a list of playlist's comments
- [x] Return a list of playlist's fans
- [x] 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
- [x] 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**
* Twitter: [@tsiry_sndr](https://twitter.com/tsiry_sndr)
* Github: [@tsirysndr](https://github.com/tsirysndr)## Show your support
Give a ⭐️ if this project helped you!