{-# LANGUAGE TemplateHaskell #-} -- | Playlist API module {-# OPTIONS_HADDOCK prune #-} module Network.Lastfm.JSON.Playlist ( addTrack, create ) where import Network.Lastfm import qualified Network.Lastfm.API.Playlist as API $(json ["addTrack", "create"]) -- | Add a track to a Last.fm user's playlist. -- -- More: addTrack ∷ Playlist → Artist → Track → APIKey → SessionKey → Secret → Lastfm Response -- | Create a Last.fm playlist on behalf of a user. -- -- More: create ∷ Maybe Title → Maybe Description → APIKey → SessionKey → Secret → Lastfm Response