github-0.21: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Endpoints.Users

Description

The Github Users API, as described at http://developer.github.com/v3/users/.

Synopsis

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 ("github-username", "github-password")) "mike-burns"

userInfoCurrent' :: Auth -> IO (Either Error User) Source #

Retrieve information about the user associated with the supplied authentication.

userInfoCurrent' (OAuth "...")