Safe Haskell | None |
---|---|
Language | Haskell2010 |
The orgs API as described on http://developer.github.com/v3/orgs/.
- publicOrganizationsFor :: Name GithubOwner -> IO (Either Error (Vector SimpleOrganization))
- publicOrganizationsFor' :: Maybe GithubAuth -> Name GithubOwner -> IO (Either Error (Vector SimpleOrganization))
- publicOrganizationsForR :: Name GithubOwner -> Maybe Count -> GithubRequest k (Vector SimpleOrganization)
- publicOrganization :: Name Organization -> IO (Either Error Organization)
- publicOrganization' :: Maybe GithubAuth -> Name Organization -> IO (Either Error Organization)
- publicOrganizationR :: Name Organization -> GithubRequest k Organization
- module Github.Data
Documentation
publicOrganizationsFor :: Name GithubOwner -> IO (Either Error (Vector SimpleOrganization)) Source
List user organizations. The public organizations for a user, given the user's login.
publicOrganizationsFor "mike-burns"
publicOrganizationsFor' :: Maybe GithubAuth -> Name GithubOwner -> IO (Either Error (Vector SimpleOrganization)) Source
The public organizations for a user, given the user's login, with authorization
publicOrganizationsFor' (Just ("github-username", "github-password")) "mike-burns"
publicOrganizationsForR :: Name GithubOwner -> Maybe Count -> GithubRequest k (Vector SimpleOrganization) Source
List user organizations. See https://developer.github.com/v3/orgs/#list-user-organizations
publicOrganization :: Name Organization -> IO (Either Error Organization) Source
Get an organization. Details on a public organization. Takes the organization's login.
publicOrganization "thoughtbot"
publicOrganization' :: Maybe GithubAuth -> Name Organization -> IO (Either Error Organization) Source
Details on a public organization. Takes the organization's login.
publicOrganization' (Just ("github-username", "github-password")) "thoughtbot"
publicOrganizationR :: Name Organization -> GithubRequest k Organization Source
Get an organization. See https://developer.github.com/v3/orgs/#get-an-organization
module Github.Data