fanart

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package fanart provides an interface to obtain artist artwork from Fanart.tv.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Album

type Album struct {
	AlbumCovers []Art `json:"albumcover"`
	CDArtwork   []Art `json:"cdart"`
}

type Art

type Art struct {
	ID    string `json:"id"`
	URL   string `json:"url"`
	Likes string `json:"likes"`
}

type Artist

type Artist struct {
	Name              string           `json:"name"`
	MBID              string           `json:"mbid_id"`
	Albums            map[string]Album `json:"albums"`
	ArtistBackgrounds []Art            `json:"artistbackground"`
	ArtistThumbs      []Art            `json:"artistthumb"`
	HDMusicLogos      []Art            `json:"hdmusiclogo"`
	MusicLogos        []Art            `json:"musiclogo"`
	MusicBanners      []Art            `json:"musicbanner"`
}

type Config

type Config struct {
	PersonalKey string
	ProjectKey  string
}

type Fanart

type Fanart struct {
	// contains filtered or unexported fields
}

func NewFanart

func NewFanart(config Config, client client.Getter) *Fanart

func (Fanart) ArtistArt

func (f Fanart) ArtistArt(arid string) *Artist

Jump to

Keyboard shortcuts

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