🎵 Haskell client library for the Spotify Web API
Haskell client library for the Spotify Web API.
Common tasks are provided as make
targets.
make # build and test
make format # run ormolu
make docs # build haddocks
make ghcid-lib # run ghcid
See make help
for the full list.
Note in order to run the tests you’ll need to create an application in your
Spotify developer dashboard and set
the client ID and secret in your environment:
export HSPOTIFY_TEST_CLIENT_ID=<your-client-id>
export HSPOTIFY_TEST_CLIENT_SECRET=<your-client-secret>
If you use Nix there’s also a shell.nix
that
provides all the necessary development tools.
nix-shell
-XDuplicateRecordFields
because it was easier to write+read. This is-XNamedFieldPuns
(see the tests for examples).Bearer
token because I’m not