Add Last.Fm function to get session
This commit is contained in:
@@ -41,6 +41,12 @@ defmodule LastFm do
|
||||
end
|
||||
end
|
||||
|
||||
def get_session(token) do
|
||||
last_fm_config = last_fm_config()
|
||||
|
||||
API.get_session(token, last_fm_config)
|
||||
end
|
||||
|
||||
def auth_url do
|
||||
last_fm_config = last_fm_config()
|
||||
"https://www.last.fm/api/auth/?api_key=" <> last_fm_config.api_key
|
||||
|
||||
Reference in New Issue
Block a user