Last.fm API wrapper for Elixir. (Documentation)
The package can be installed by:
- Add
elixirfmto your list of dependencies inmix.exs:
defdepsdo[{:elixirfm,"~> 1.0.0"}]end- Ensure
elixirfmis started in your application:
defapplicationdo[applications: [:elixirfm]]end- Configure API key for LastFm's API by setting Application var in your config
config:elixirfm,api_key: "<your API key>"secret_key: "<your SECRET key>"or by setting system env var with
$ export LASTFM_SECRET_KEY="<your SECRET key>" LASTFM_API_KEY="<your API key>"