Documentation ¶
Index ¶
Constants ¶
View Source
const DiscogsApiBaseUrl = "https://api.discogs.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ReleasesService *ReleasesService // contains filtered or unexported fields }
type ReleaseModel ¶
type ReleaseModel struct { ID int `json:"id"` Status string `json:"status"` Year int `json:"year"` ResourceURL string `json:"resource_url"` URI string `json:"uri"` NumberForSale int `json:"num_for_sale"` LowestPrice float32 `json:"lowest_price"` MasterID int `json:"master_id"` MasterURL string `json:"master_url"` Title string `json:"title"` Country string `json:"country"` ReleasedOn string `json:"released"` }
type ReleasesService ¶
type ReleasesService struct {
// contains filtered or unexported fields
}
func (*ReleasesService) GetRelease ¶
func (s *ReleasesService) GetRelease(id string) (*ReleaseModel, error)
Click to show internal directories.
Click to hide internal directories.