class Tidal::API::Client
- Tidal::API::Client
- Reference
- Object
Defined in:
api/client.crConstant Summary
-
DEFAULT_ENDPOINT =
"https://api.tidalhifi.com/v1/"
-
LOSSLESS_TOKEN =
"kgsOOmYk3zShYrNP"
-
LOSSY_TOKEN =
"4zx46pyr9o8qZNRw"
Constructors
Instance Method Summary
- #album_art_urls(album_art_uuid)
- #artist_pic_urls(pic_uuid)
- #authenticate(username, password)
- #country_code : String
- #get_album(album_id)
- #get_album_tracks(album_id)
- #get_artist(artist_id)
- #get_artist_compilations(artist_id)
- #get_artist_eps_and_singles(artist_id)
- #get_artist_top_tracks(artist_id, limit = 10)
- #get_favorite_albums
- #get_favorite_artists
- #get_favorite_playlists
- #get_favorite_tracks
- #get_featured_albums
- #get_playlist(uuid)
- #get_playlist_tracks(uuid)
- #get_similar_artists(artist_id)
- #get_track(track_id)
- #get_track_stream_url(track_id)
- #get_user_playlists
- #limit : Int32
- #load_session(filename = "./tidal.session")
- #quality : AudioQuality
- #request(path, method = :get, params = {} of String => String, form = {} of String => String)
- #save_session(output_file = "./tidal.session")
- #search(query, type : U.class, limit = 25, offset = 0) forall U
- #session_id : String | Nil
- #user_id : Int32 | Nil
Constructor Detail
def self.new(country_code : String = "US", limit : Int32 = 1000, quality : AudioQuality = AudioQuality::High)
#