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

Safe HaskellNone
LanguageHaskell98

Github.Organizations

Description

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

Synopsis

Documentation

publicOrganizationsFor :: String -> IO (Either Error [SimpleOrganization]) Source

The public organizations for a user, given the user's login.

publicOrganizationsFor "mike-burns"

publicOrganizationsFor' :: Maybe GithubAuth -> String -> IO (Either Error [SimpleOrganization]) Source

The public organizations for a user, given the user's login, with authorization

publicOrganizationsFor' (Just ("github-username", "github-password")) "mike-burns"

publicOrganization :: String -> IO (Either Error Organization) Source

Details on a public organization. Takes the organization's login.

publicOrganization "thoughtbot"

publicOrganization' :: Maybe GithubAuth -> String -> IO (Either Error Organization) Source

Details on a public organization. Takes the organization's login.

publicOrganization' (Just ("github-username", "github-password")) "thoughtbot"