rascal-1.1.6: A command-line client for Reddit

Safe HaskellNone

Rascal.API

Synopsis

Documentation

getListing :: String -> String -> Int -> Maybe String -> IO NamedListingSource

get posts according to selection in argument's subreddit as a listing

getThing :: FromJSON a => String -> String -> a -> IO aSource

get posts or comments from an apiurl, a sort order and a default in case of error

handleCurlAesonException :: a -> CurlAesonException -> IO aSource

print error message if there is a cURL exception

getComments :: String -> String -> String -> IO CommentsSource

request comments for a given article