Safe Haskell | None |
---|---|
Language | Haskell98 |
The repo watching API as described on http://developer.github.com/v3/repos/watching/.
- watchersFor :: String -> String -> IO (Either Error [GithubOwner])
- watchersFor' :: Maybe GithubAuth -> String -> String -> IO (Either Error [GithubOwner])
- reposWatchedBy :: String -> IO (Either Error [Repo])
- reposWatchedBy' :: Maybe GithubAuth -> String -> IO (Either Error [Repo])
- module Github.Data
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"
module Github.Data