Skip to content

accraze/discogs-haskell

Repository files navigation

Discogs-Haskell travis build

Haskell Client for Discogs REST API. Based on a Monad Transformer Stack.

This does not wrap the complete API yet. Only database actions (with the exception of searching) are implemented at this time. If you are interested in hacking on this, checkout the CONTRIBUTING doc for more info.

Install

The library is available on Hackage. You can install doing:

$ cabal install discogs-haskell-0.0.5.0

Docs

You can view the docs on Hackage. Check out the action modules to see how to get data from Discogs.

Build Locally

To install and build locally, clone the repo:

$ git clone http://github.com/accraze/discogs-haskell.git

This project is built using Stack. To install all deps and build an executable:

$ stack setup
...
$ stack build

Then you can use the ghci REPL to use the client.

$ stack ghci
.....
ghci> runDiscogsAnon $ Discogs.Actions.getRelease $ ReleaseID "249504"

License:

MIT License 2016-2018 © Andy Craze