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

Safe HaskellNone

Web.Twitter.Conduit.Base

Documentation

apiSource

Arguments

:: TwitterBaseM m 
=> Method

HTTP request method (GET or POST)

-> String

API Resource URL

-> SimpleQuery

Query

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

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

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

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

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

makeRequestSource

Arguments

:: MonadThrow m 
=> Method

HTTP request method (GET or POST)

-> String

API Resource URL

-> SimpleQuery

Query

-> TW m Request