This repository has been archived on 2023-04-13. You can view files and clone it, but cannot push or open issues or pull requests.
go-discogs/examples/discogs_example.go
Пискун Артем 4c36248c00 specified release json
2016-03-09 17:54:25 +03:00

19 lines
366 B
Go

package main
import (
"fmt"
"github.com/irlndts/go-discogs"
// "io/ioutil"
"net/http"
)
func main() {
client := &http.Client{}
d := discogs.NewClient(client).UserAgent("TestDiscogsClient/0.0.1 +http://irlndts.moscow")
params := &discogs.ReleaseParams{Release_id: "1"}
release, _, err := d.Release.Release(params)
fmt.Println(release)
fmt.Println(err)
}