Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrichocean/Elixirfm
Lastfm API wrapper for Elixir
https://github.com/jrichocean/Elixirfm
elixir hex lastfm lastfm-api
Last synced: about 1 month ago
JSON representation
Lastfm API wrapper for Elixir
- Host: GitHub
- URL: https://github.com/jrichocean/Elixirfm
- Owner: jrichocean
- License: mit
- Created: 2016-10-01T00:04:55.000Z (about 8 years ago)
- Default Branch: root
- Last Pushed: 2020-11-05T07:53:50.000Z (about 4 years ago)
- Last Synced: 2024-10-03T12:47:37.247Z (2 months ago)
- Topics: elixir, hex, lastfm, lastfm-api
- Language: Elixir
- Size: 123 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Last.fm API wrapper for Elixir. (Third Party APIs)
- fucking-awesome-elixir - elixirfm - Last.fm API wrapper for Elixir. (Third Party APIs)
- awesome-elixir - elixirfm - Last.fm API wrapper for Elixir. (Third Party APIs)
README
# Elixirfm
Last.fm API wrapper for Elixir. [(Documentation)](https://hexdocs.pm/elixirfm/)
### Installation
The package can be installed by:
1. Add `elixirfm` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:elixirfm, "~> 1.0.0"}]
end
```2. Ensure `elixirfm` is started in your application:
```elixir
def application do
[
applications: [
:elixirfm
]
]
end
```3. Configure API key for LastFm's API by setting Application var in your config
```elixir
config :elixirfm,
api_key: ""
secret_key: ""
```or by setting system env var with
```bash
$ export LASTFM_SECRET_KEY="" LASTFM_API_KEY=""
```