Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module for interfacing http://8tracks.com
API documentation: http://8tracks.com/developers/api_v3
- data EightTracks = EightTracks {}
- data PlaySession = PlaySession {}
- data PlayResponse = PlayResponse {
- play_set :: MixSet
- play_status :: String
- data MixSet = MixSet {
- at_beginning :: Bool
- at_last_track :: Bool
- at_end :: Bool
- skip_allowed :: Bool
- track :: EightTracks
- data MixInfo = MixInfo {
- info_mix :: Mix
- info_status :: String
- getMixId :: String -> IO Int
- featured :: IO [Mix]
- newest :: IO [Mix]
- trending :: IO [Mix]
- search :: String -> IO [Mix]
- pprMixes :: [Mix] -> IO ()
- type ETParam = Param EightTracks
- eight :: Config EightTracks -> ETParam
- userName :: Param EightTracks -> String
Documentation
data EightTracks Source
Show EightTracks | |
Generic EightTracks | |
ToJSON ETParam | |
FromJSON EightTracks | |
FromJSON ETParam | |
NeedLogin EightTracks | |
Radio EightTracks | |
Show (Param EightTracks) | |
Generic (Config EightTracks) | |
Generic (Param EightTracks) | |
ToJSON (Config EightTracks) | |
FromJSON (Config EightTracks) | |
type Rep EightTracks | |
data Config EightTracks = Config {} | |
data Param EightTracks = Token {} | |
type Rep (Config EightTracks) | |
type Rep (Param EightTracks) |
data PlaySession Source
Response from http:/8tracks.comsets/new.json
play_token
is the value of interest
data PlayResponse Source
Response from play.json next.json
track
is the value of interest
MixSet | |
|
Response from http:/8tracks.commixes/14.json or
http:/8tracks.comdp/electrominimalicious.json
info_mix
is the value of interest
MixInfo | |
|
type ETParam = Param EightTracks Source
eight :: Config EightTracks -> ETParam Source
userName :: Param EightTracks -> String Source