integration-0.1.0
Safe HaskellNone
LanguageGHC2021

Test.Proxy

Documentation

type GiphyAPI = "v1" :> ("gifs" :> (Capture "path" String :> (QueryParam "api_key" String :> (QueryParam "q" String :> (QueryParam "limit" Int :> (QueryParam "offset" Int :> Get '[JSON] Value)))))) Source #

type YoutubeAPI = "youtube" :> ("v3" :> (Capture "path" String :> (QueryString :> Get '[JSON] Value))) Source #

type GoogleMapsAPI = "maps" :> (("api" :> ("staticmap" :> (QueryString :> Get '[JSON] Value))) :<|> ("api" :> ("geocode" :> (Capture "path" String :> (QueryString :> Get '[JSON] Value))))) Source #

type SpotifyAPI = "api" :> ("token" :> (Header "Authorization" String :> (ReqBody '[JSON] Value :> Post '[JSON] Value))) Source #

type SoundcloudAPI = ("resolve" :> (QueryParam' '[Required] "client_id" String :> (QueryParam' '[Required] "url" String :> Get '[JSON] Value))) :<|> ("some-stream" :> (QueryParam' '[Required] "client_id" String :> Get '[JSON] NoContent)) Source #