github-0.12: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell98

Github.Repos.Watching

Description

The repo watching API as described on http://developer.github.com/v3/repos/watching/.

Synopsis

Documentation

watchersFor :: String -> String -> IO (Either Error [GithubOwner]) Source

The list of users that are watching the specified Github repo.

watchersFor "thoughtbot" "paperclip"

watchersFor' :: Maybe GithubAuth -> String -> String -> IO (Either Error [GithubOwner]) Source

The list of users that are watching the specified Github repo. | With authentication

watchersFor' (Just (GithubUser (user, password))) "thoughtbot" "paperclip"

reposWatchedBy :: String -> IO (Either Error [Repo]) Source

All the public repos watched by the specified user.

reposWatchedBy "croaky"

reposWatchedBy' :: Maybe GithubAuth -> String -> IO (Either Error [Repo]) Source

All the public repos watched by the specified user. | With authentication

reposWatchedBy' (Just (GithubUser (user, password))) "croaky"