twitter-conduit-0.0.6: Twitter API package with conduit interface and Streaming API support.

Safe HaskellNone
LanguageHaskell98

Web.Twitter.Conduit.Base

Synopsis

Documentation

api Source

Arguments

:: TwitterBaseM m 
=> Method

HTTP request method (GET or POST)

-> String

API Resource URL

-> SimpleQuery

Query

-> TW m (Response (ResumableSource (TW m) ByteString)) 

Deprecated: use `getResponse =<< makeRequest'`

call :: (TwitterBaseM m, FromJSON responseType) => APIRequest apiName responseType -> TW m responseType Source

call' :: (TwitterBaseM m, FromJSON value) => APIRequest apiName responseType -> TW m value Source

sourceWithMaxId :: (TwitterBaseM m, FromJSON responseType, AsStatus responseType, HasMaxIdParam (APIRequest apiName [responseType])) => APIRequest apiName [responseType] -> Source (TW m) responseType Source

sourceWithMaxId' :: (TwitterBaseM m, HasMaxIdParam (APIRequest apiName [responseType])) => APIRequest apiName [responseType] -> Source (TW m) Value Source

sourceWithCursor :: (TwitterBaseM m, FromJSON responseType, CursorKey ck, HasCursorParam (APIRequest apiName (WithCursor ck responseType))) => APIRequest apiName (WithCursor ck responseType) -> Source (TW m) responseType Source

sourceWithCursor' :: (TwitterBaseM m, FromJSON responseType, CursorKey ck, HasCursorParam (APIRequest apiName (WithCursor ck responseType))) => APIRequest apiName (WithCursor ck responseType) -> Source (TW m) Value Source

makeRequest :: (MonadThrow m, MonadIO m) => APIRequest apiName responseType -> m Request Source