class Scrobbly::Frontends::Lastfm

Defined in:

scrobbly/frontends/lastfm.cr

Constant Summary

API_BASE_PATH = "/2.0"
API_KEY = {{ (env("LASTFM_API_KEY")) || (raise("Please set the LASTFM_API_KEY env var")) }}
API_SECRET = {{ (env("LASTFM_API_SECRET")) || (raise("Please set the LASTFM_API_SECRET env var")) }}
API_URI = URI.parse("https://ws.audioscrobbler.com")

Constructors

Instance methods inherited from class Scrobbly::Frontend

channel : Channel({Scrobbly::Frontend::Command, Scrobbly::SongInfo}) channel

Constructor methods inherited from class Scrobbly::Frontend

new(channel : Channel(Tuple(Command, SongInfo))) new

Constructor Detail

def self.new(notifications, config) #

[View source]