github-0.14.0: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell2010

Github.Users

Description

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

Synopsis

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"

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?