License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The repo watching API as described on https://developer.github.com/v3/activity/watching/.
- watchersFor :: Name Owner -> Name Repo -> IO (Either Error (Vector SimpleUser))
- watchersFor' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector SimpleUser))
- watchersForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser)
- reposWatchedBy :: Name Owner -> IO (Either Error (Vector Repo))
- reposWatchedBy' :: Maybe Auth -> Name Owner -> IO (Either Error (Vector Repo))
- reposWatchedByR :: Name Owner -> FetchCount -> Request k (Vector Repo)
- module GitHub.Data
Documentation
watchersFor :: Name Owner -> Name Repo -> IO (Either Error (Vector SimpleUser)) Source #
The list of users that are watching the specified Github repo.
watchersFor "thoughtbot" "paperclip"
watchersFor' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector SimpleUser)) Source #
The list of users that are watching the specified Github repo. With authentication
watchersFor' (Just (User (user, password))) "thoughtbot" "paperclip"
watchersForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser) Source #
List watchers. See https://developer.github.com/v3/activity/watching/#list-watchers
reposWatchedBy :: Name Owner -> IO (Either Error (Vector Repo)) Source #
All the public repos watched by the specified user.
reposWatchedBy "croaky"
reposWatchedBy' :: Maybe Auth -> Name Owner -> IO (Either Error (Vector Repo)) Source #
All the public repos watched by the specified user. With authentication
reposWatchedBy' (Just (User (user, password))) "croaky"
reposWatchedByR :: Name Owner -> FetchCount -> Request k (Vector Repo) Source #
List repositories being watched. See https://developer.github.com/v3/activity/watching/#list-repositories-being-watched
module GitHub.Data