Skip to content
Go client for YMuse API
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
album.go
artist.go
client.go
commontypes.go
gomuse.go
oauth.go
urls.go
ymusetime.go

README.md

Go client for ymuse.com API

This is an experimental ymuse.com API client for Go. Hopefully, there will be some documentation some day. Until then, you can enjoy it by:

package main

import (
	"ymuse.com/gomuse"
)

func main(){
	cfg := gomuse.ClientConfig{
		ClientId:     "YOUR CLIENT ID",
		ClientSecret: "YOUR CLIENT SECRET",
		Debug:        false,
	}
	client := gomuse.NewClient(cfg)
	content, _ := client.GetFeaturedContent()
	//Do something with the content etc...
}

License

This client uses the napping library which is licensed under GPLv3. Therefore this library is also licensed with GPLv3.

You can’t perform that action at this time.