The spoty package

[ Tags: bsd3, library, web ] [ Propose Tags ]

Web API https://developer.spotify.com/web-api/ wrapper powered by lens and pipes, allowing easy access to public endpoints. Does not have any external dependencies nor requirements regarding app registration.

All public endpoints, with multi-get versions excluded, are implemented.

> :set -XOverloadedStrings
> :m +Control.Lens Utils.Spoty
> Just artist <- fetchOne (searchArtist "avicii")      -- assume at least one match
> popular <- getArtistTop (view spotifyID artist) "SE" -- retrieve the most popular tracks in Sweden
> mapM_ (print . view name) popular                    -- print the corresponding names
"Hey Brother"
"Addicted To You"
"Wake Me Up"
...

Please read the README for details.

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2
Change log CHANGELOG
Dependencies aeson (>=0.7.0.6 && <0.8.1), base (>=4.6 && <4.8), bytestring (==0.10.*), lens (==4.4.*), lens-aeson (>=1 && <1.1), pipes (==4.1.*), text (>=0.11 && <1.2), unordered-containers (>=0.2.3 && <0.3), wreq (==0.2.*) [details]
License BSD3
Author David Nilsson
Maintainer nilsson.dd+code@gmail.com
Category Web
Home page https://github.com/davnils/spoty
Bug tracker https://github.com/davnils/spoty/issues
Source repository head: git clone https://github.com/davnils/spoty.git
Uploaded Tue Aug 26 08:14:25 UTC 2014 by DavidNilsson
Distributions NixOS:0.1.0.2
Downloads 676 total (45 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees