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

Safe HaskellNone
LanguageHaskell2010

Github.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 SimpleOwner)) Source

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

membersOf "thoughtbot"

membersOf' :: Maybe GithubAuth -> Name Organization -> IO (Either Error (Vector SimpleOwner)) Source

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

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