Skip to content

jrichocean/Elixirfm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixirfm

Last.fm API wrapper for Elixir. (Documentation)

Installation

The package can be installed by:

  1. Add elixirfm to your list of dependencies in mix.exs:
def deps do
  [{:elixirfm, "~> 1.0.0"}]
end
  1. Ensure elixirfm is started in your application:
def application do
  [
    applications: [
      :elixirfm
    ]
  ]
end
  1. 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>"

Releases

No releases published

Packages

No packages published

Languages