A Last.fm API client for Elixir.
Each Last.fm API namespace has its own module: Lastex.Album,
Lastex.Artist, Lastex.Chart, Lastex.Geo, Lastex.Library,
Lastex.Tag, Lastex.Track, and Lastex.User. Authentication lives in
Lastex.Auth.
Every function returns {:ok, result} or {:error, %Lastex.Error{}}. List
endpoints return a Lastex.Page carrying the data and pagination counts.
Configure your credentials before making any call:
config :lastex,
api_key: System.get_env("LASTFM_API_KEY"),
api_secret: System.get_env("LASTFM_API_SECRET")