spotify

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 20 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package spotify is the Spotify catalog plugin port, its seven Web API tools and the icebath spotify login command

Index

Constants

View Source
const Toolset = "spotify"

Toolset every Spotify tool registers under

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Spotify catalog plugin port, active once icebath plugins install spotify lands it in a home

func (Plugin) Manifest

func (Plugin) Manifest() plugins.Manifest

Manifest of the spotify catalog plugin at its compiled-in pin

func (Plugin) Register

func (Plugin) Register(ctx *plugins.Context) error

Registers the seven login gated tools in the spotify toolset and the icebath spotify command

type SpotifyAPIError

type SpotifyAPIError struct {
	Msg          string
	StatusCode   int
	ResponseBody string
	Path         string
}

Structured Spotify API failure with its status, raw body and request path

func (*SpotifyAPIError) Error

func (e *SpotifyAPIError) Error() string

func (*SpotifyAPIError) ErrorKind

func (e *SpotifyAPIError) ErrorKind() string

type SpotifyAuthRequiredError

type SpotifyAuthRequiredError struct{ Msg string }

Raised when the user needs to authenticate with Spotify first

func (*SpotifyAuthRequiredError) Error

func (e *SpotifyAuthRequiredError) Error() string

func (*SpotifyAuthRequiredError) ErrorKind

func (e *SpotifyAuthRequiredError) ErrorKind() string

type SpotifyError

type SpotifyError struct{ Msg string }

Base Spotify tool error

func (*SpotifyError) Error

func (e *SpotifyError) Error() string

func (*SpotifyError) ErrorKind

func (e *SpotifyError) ErrorKind() string

Jump to

Keyboard shortcuts

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