Hastodon-0.0.2: mastodon client module for Haskell

Safe HaskellNone
LanguageHaskell2010

Web.Hastodon

Documentation

data Tag Source #

Constructors

Tag 

Fields

mkHastodonClient :: String -> String -> String -> String -> String -> IO (Maybe HastodonClient) Source #

getFollowers :: Int -> HastodonClient -> IO (Either JSONException [Account]) Source #

getFollowing :: Int -> HastodonClient -> IO (Either JSONException [Account]) Source #

getBlocks :: HastodonClient -> IO (Either JSONException [Account]) Source #

getFavorites :: HastodonClient -> IO (Either JSONException [Status]) Source #

postAuthorizeRequest :: Int -> HastodonClient -> IO Bool Source #

postRejectRequest :: Int -> HastodonClient -> IO Bool Source #

getMutes :: HastodonClient -> IO (Either JSONException [Account]) Source #

postNotificationsClear :: HastodonClient -> IO Bool Source #

getReports :: HastodonClient -> IO (Either JSONException [Report]) Source #

getStatus :: Int -> HastodonClient -> IO (Either JSONException Status) Source #

getCard :: Int -> HastodonClient -> IO (Either JSONException Card) 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 #

postReblog :: Int -> HastodonClient -> IO (Either JSONException Status) Source #

postUnreblog :: Int -> HastodonClient -> IO (Either JSONException Status) Source #

postFavorite :: Int -> HastodonClient -> IO (Either JSONException Status) Source #