bronyradiogermany-common-1.0.0.1: Common types and URIs for the BronyRadioGermany API bindings.

Safe HaskellNone
LanguageHaskell2010

Network.Radio.BronyRadioGermany.URI

Synopsis

Documentation

brgPanelBaseURI :: Text Source #

BronyRadioGermany API base URI

brgStreamURI :: Mountpoint -> Text Source #

URI of the given radio stream

brgStreamInfoURI :: Mountpoint -> Text Source #

URI for StreamInfo requests (GET)

brgTrackInfoURI :: HasTrackId t => t -> Text Source #

URI for TrackInfo requests (GET)

brgTrackListURI :: Maybe Text -> Maybe Text -> Text Source #

URI for AutoDJ track list requests (GET)

brgHistoryURI :: Int -> Maybe UTCTime -> Maybe UTCTime -> Maybe Text -> Maybe Text -> Text Source #

URI for history list requests (GET)

brgUpVoteURI :: UUID -> Mountpoint -> Text Source #

URI for up votes (GET)

brgDownVoteURI :: UUID -> Mountpoint -> Text Source #

URI for down votes (GET)

brgVoteCheckURI :: UUID -> Mountpoint -> Text Source #

URI for checking if the UUID has already voted (GET)

brgAutoDJRequestURI :: Text Source #

URI for requesting a song (POST, params: title, artist, nickname)

brgAutoDJRequestBody :: Text -> Text -> Text -> String Source #

POST body for requesting a song