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