class Worker::HudbaClient

Defined in:

worker/hudba_client.cr
worker/hudba_client/converter.cr
worker/hudba_client/converter/seconds_to_time_span.cr
worker/hudba_client/http_client.cr
worker/hudba_client/mapping.cr
worker/hudba_client/mapping/audio.cr
worker/hudba_client/mapping/audio_request.cr
worker/hudba_client/mapping/playlist.cr

Constant Summary

Log = Worker::Log.for("hudba_client")

Constructors

Instance Method Summary

Constructor Detail

def self.new(worker : Worker) #

[View source]

Instance Method Detail

def audio_file(id : String, format : String) : File | Nil #

[View source]
def audios_request(query : String) : Mapping::AudioRequest | Nil #

[View source]
def run : Nil #

[View source]
def stop : Nil #

[View source]