License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The Github Users API, as described at http://developer.github.com/v3/users/.
Synopsis
- userInfoFor :: Name User -> IO (Either Error User)
- userInfoFor' :: Maybe Auth -> Name User -> IO (Either Error User)
- userInfoForR :: Name User -> Request k User
- ownerInfoForR :: Name Owner -> Request k Owner
- userInfoCurrent' :: Auth -> IO (Either Error User)
- userInfoCurrentR :: Request RA User
- module GitHub.Data
Documentation
userInfoFor :: Name User -> IO (Either Error User) Source #
The information for a single user, by login name.
userInfoFor "mike-burns"
userInfoFor' :: Maybe Auth -> Name User -> IO (Either Error User) Source #
The information for a single user, by login name. With authentification
userInfoFor' (Just $ BasicAuth "github-username" "github-password") "mike-burns"
userInfoForR :: Name User -> Request k User Source #
Query a single user. See https://developer.github.com/v3/users/#get-a-single-user
ownerInfoForR :: Name Owner -> Request k Owner Source #
Query a single user or an organization. See https://developer.github.com/v3/users/#get-a-single-user
userInfoCurrent' :: Auth -> IO (Either Error User) Source #
Retrieve information about the user associated with the supplied authentication.
userInfoCurrent' (OAuth "...")
userInfoCurrentR :: Request RA User Source #
Query the authenticated user. See https://developer.github.com/v3/users/#get-the-authenticated-user
module GitHub.Data