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

Safe HaskellNone
LanguageHaskell98

Github.Repos.Subscribing

Description

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

Synopsis

Documentation

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

The list of users that are subscribed to the specified Github repo.

subscribersFor "thoughtbot" "paperclip"

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

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

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

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

All the public repos subscribed to by the specified user.

reposSubscribedToBy "croaky"

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

All the public repos subscribed to by the specified user. | With authentication

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