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