Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data HastodonClient Source #
data Application Source #
data Attachment Source #
Context | |
|
Mention | |
|
Report | |
|
Results | |
|
Status | |
|
mkHastodonClient :: String -> String -> String -> String -> String -> IO (Maybe HastodonClient) Source #
getAccountById :: HastodonClient -> Int -> IO (Either JSONException Account) Source #
getFollowers :: HastodonClient -> Int -> IO (Either JSONException [Account]) Source #
getFollowing :: HastodonClient -> Int -> IO (Either JSONException [Account]) Source #
getAccountStatuses :: HastodonClient -> Int -> IO (Either JSONException [Status]) Source #
postFollow :: HastodonClient -> Int -> IO (Either JSONException Relationship) Source #
postUnfollow :: HastodonClient -> Int -> IO (Either JSONException Relationship) Source #
postBlock :: HastodonClient -> Int -> IO (Either JSONException Relationship) Source #
postUnblock :: HastodonClient -> Int -> IO (Either JSONException Relationship) Source #
postMute :: HastodonClient -> Int -> IO (Either JSONException Relationship) Source #
postUnmute :: HastodonClient -> Int -> IO (Either JSONException Relationship) Source #
getRelationships :: HastodonClient -> [Int] -> IO (Either JSONException [Relationship]) Source #
getSearchedAccounts :: HastodonClient -> String -> IO (Either JSONException [Account]) Source #
postApps :: String -> String -> IO (Either JSONException OAuthClient) Source #
getBlocks :: HastodonClient -> IO (Either JSONException [Account]) Source #
getFavorites :: HastodonClient -> IO (Either JSONException [Status]) Source #
getFollowRequests :: HastodonClient -> IO (Either JSONException [Account]) Source #
postAuthorizeRequest :: HastodonClient -> Int -> IO Bool Source #
postRejectRequest :: HastodonClient -> Int -> IO Bool Source #
getMutes :: HastodonClient -> IO (Either JSONException [Account]) Source #
getNotificationById :: HastodonClient -> Int -> IO (Either JSONException Notification) Source #
getReports :: HastodonClient -> IO (Either JSONException [Report]) Source #
getSearchedResults :: HastodonClient -> String -> IO (Either JSONException [Results]) Source #
getStatus :: HastodonClient -> Int -> IO (Either JSONException Status) Source #
getCard :: HastodonClient -> Int -> IO (Either JSONException Card) Source #
getContext :: HastodonClient -> Int -> IO (Either JSONException Context) Source #
getRebloggedBy :: HastodonClient -> Int -> IO (Either JSONException [Account]) Source #
getFavoritedBy :: HastodonClient -> Int -> IO (Either JSONException [Account]) Source #
postStatus :: HastodonClient -> String -> IO (Either JSONException Status) Source #
postReblog :: HastodonClient -> Int -> IO (Either JSONException Status) Source #
postUnreblog :: HastodonClient -> Int -> IO (Either JSONException Status) Source #
postFavorite :: HastodonClient -> Int -> IO (Either JSONException Status) Source #
postUnfavorite :: HastodonClient -> Int -> IO (Either JSONException Status) Source #
getHomeTimeline :: HastodonClient -> IO (Either JSONException [Status]) Source #
getPublicTimeline :: HastodonClient -> IO (Either JSONException [Status]) Source #
getTaggedTimeline :: HastodonClient -> String -> IO (Either JSONException [Status]) Source #