Versions in this module Expand all Collapse all v1 v1.1.0 Jan 17, 2025 Changes in this version + const CodeInvalidSessionKey + const CodeServiceOffline + const CodeServiceTemporaryUnavailable + type Correction struct + Corrected string + Text string + type Ignored struct + Code string + Text string v1.0.0 Jan 11, 2025 Changes in this version + type ErrorResponse struct + Code uint + Message string + func (er ErrorResponse) Error() string + type NowPlayingResponse struct + NowPlaying struct{ ... } + type ScrobbleResponse struct + Scrobbles struct{ ... } + type Service struct + func New(cfg config.Credentials, sessionCache *sessioncache.Service) *Service + func (s *Service) Scrobble(ctx context.Context, data models.Track) (ScrobbleResponse, error) + func (s *Service) SendNowPlaying(ctx context.Context, data models.Track) (NowPlayingResponse, error)