spotify

package
v0.52.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("spotify: not found")
)

Functions

This section is empty.

Types

type Artist

type Artist struct {
	Genres     []string `json:"genres"`
	HRef       string   `json:"href"`
	ID         string   `json:"id"`
	Popularity int      `json:"popularity"`
	Images     []Image  `json:"images"`
	Name       string   `json:"name"`
}

type ArtistsResult

type ArtistsResult struct {
	HRef  string   `json:"href"`
	Items []Artist `json:"items"`
}

type Error

type Error struct {
	Code    string `json:"error"`
	Message string `json:"error_description"`
}

type Image

type Image struct {
	URL    string `json:"url"`
	Width  int    `json:"width"`
	Height int    `json:"height"`
}

type SearchResults

type SearchResults struct {
	Artists ArtistsResult `json:"artists"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL