aur-api- ArchLinux AUR json v5 API

Safe HaskellNone



AUR json API implementation (v5)

AUR json API spec can be found at



info :: MonadIO m => [String] -> ExceptT String m [AURInfo] Source #

Query info of given list of packages, match exact names possible return types are multiinfo and error. error type is captured by ExceptT (Left). However, query may return empty list which isn't considered as an error.

searchBy :: MonadIO m => SearchBy -> String -> ExceptT String m [AURInfo] Source #

searchBy field SearchBy given string on AUR server possible return types are search and error. Like info, error is captured by a Left.

search :: MonadIO m => String -> ExceptT String m [AURInfo] Source #

synonym of searchBy ByNameDesc