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

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

GitHub.Endpoints.Organizations.Members

Description

The organization members API as described on http://developer.github.com/v3/orgs/members/.

Synopsis

Documentation

membersOf :: Name Organization -> IO (Either Error (Vector SimpleUser)) Source #

All the users who are members of the specified organization, | without authentication.

membersOf "thoughtbot"

membersOf' :: Maybe Auth -> Name Organization -> IO (Either Error (Vector SimpleUser)) Source #

All the users who are members of the specified organization, | with or without authentication.

membersOf' (Just $ OAuth "token") "thoughtbot"

membersOfR :: Name Organization -> FetchCount -> Request k (Vector SimpleUser) Source #

All the users who are members of the specified organization.

See https://developer.github.com/v3/orgs/members/#members-list