Safe Haskell | None |
---|---|
Language | Haskell2010 |
The Github Users API, as described at http://developer.github.com/v3/users/.
- userInfoFor :: Name GithubOwner -> IO (Either Error GithubOwner)
- userInfoFor' :: Maybe GithubAuth -> Name GithubOwner -> IO (Either Error GithubOwner)
- userInfoForR :: Name GithubOwner -> GithubRequest k GithubOwner
- userInfoCurrent' :: Maybe GithubAuth -> IO (Either Error GithubOwner)
- userInfoCurrentR :: GithubRequest True GithubOwner
- module Github.Data
Documentation
userInfoFor :: Name GithubOwner -> IO (Either Error GithubOwner) Source
The information for a single user, by login name.
userInfoFor "mike-burns"
userInfoFor' :: Maybe GithubAuth -> Name GithubOwner -> IO (Either Error GithubOwner) Source
The information for a single user, by login name. With authentification
userInfoFor' (Just ("github-username", "github-password")) "mike-burns"
userInfoForR :: Name GithubOwner -> GithubRequest k GithubOwner Source
Get a single user. See https://developer.github.com/v3/users/#get-a-single-user
userInfoCurrent' :: Maybe GithubAuth -> IO (Either Error GithubOwner) Source
Retrieve information about the user associated with the supplied authentication.
userInfoCurrent' (GithubOAuth "...")
TODO: Change to require GithubAuth
?
userInfoCurrentR :: GithubRequest True GithubOwner Source
Get the authenticated user. See https://developer.github.com/v3/users/#get-the-authenticated-user
module Github.Data