module APIMethod

Public Instance Methods

album_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 76
def album_get(params = {})
  http.get("/ws/#{api_version}/album.get", _params(params))
end
album_tracks_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 80
def album_tracks_get(params = {})
  http.get("/ws/#{api_version}/album.tracks.get", _params(params))
end
artist_albums_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 68
def artist_albums_get(params = {})
  http.get("/ws/#{api_version}/artist.albums.get", _params(params))
end
artist_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 60
def artist_get(params = {})
  http.get("/ws/#{api_version}/artist.get", _params(params))
end
catalogue_dump_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 88
def catalogue_dump_get(params = {})
  http.get("/ws/#{api_version}/catalogue.dump.get", _params(params))
end
chart_artists_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 4
def chart_artists_get(params = {})
  http.get("/ws/#{api_version}/chart.artists.get", _params(params))
end
chart_tracks_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 8
def chart_tracks_get(params = {})
  http.get("/ws/#{api_version}/chart.tracks.get", _params(params))
end
matcher_lyrics_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 48
def matcher_lyrics_get(params = {})
  http.get("/ws/#{api_version}/matcher.lyrics.get", _params(params))
end
matcher_subtitle_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 56
def matcher_subtitle_get(params = {})
  http.get("/ws/#{api_version}/matcher.subtitle.get", _params(params))
end
matcher_track_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 52
def matcher_track_get(params = {})
  http.get("/ws/#{api_version}/matcher.track.get", _params(params))
end
music_genres_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 44
def music_genres_get(params = {})
  http.get("/ws/#{api_version}/music.genres.get", _params(params))
end
track_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 16
def track_get(params = {})
  http.get("/ws/#{api_version}/track.get", _params(params))
end
track_lyrics_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 20
def track_lyrics_get(params = {})
  http.get("/ws/#{api_version}/track.lyrics.get", _params(params))
end
track_lyrics_translation_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 36
def track_lyrics_translation_get(params = {})
  http.get("/ws/#{api_version}/track.lyrics.translation.get", _params(params))
end
track_richsync_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 32
def track_richsync_get(params = {})
  http.get("/ws/#{api_version}/track.richsync.get", _params(params))
end
track_snippet_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 24
def track_snippet_get(params = {})
  http.get("/ws/#{api_version}/track.snippet.get", _params(params))
end
track_subtitle_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 28
def track_subtitle_get(params = {})
  http.get("/ws/#{api_version}/track.subtitle.get", _params(params))
end
track_subtitle_translation_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 40
def track_subtitle_translation_get(params = {})
  http.get("/ws/#{api_version}/track.subtitle.translation.get", _params(params))
end
tracking_url_get(params = {}) click to toggle source
# File lib/musixmatch/api_method.rb, line 84
def tracking_url_get(params = {})
  http.get("/ws/#{api_version}/tracking.url.get", _params(params))
end

Private Instance Methods

_params(params) click to toggle source
# File lib/musixmatch/api_method.rb, line 92
def _params(params)
  params['apikey'] = @api_key
  params['format'] = 'json'
  params
end