License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The orgs API as described on http://developer.github.com/v3/orgs/.
Synopsis
- publicOrganizationsFor :: Name User -> IO (Either Error (Vector SimpleOrganization))
- publicOrganizationsFor' :: Maybe Auth -> Name User -> IO (Either Error (Vector SimpleOrganization))
- publicOrganizationsForR :: Name User -> FetchCount -> Request k (Vector SimpleOrganization)
- publicOrganization :: Name Organization -> IO (Either Error Organization)
- publicOrganization' :: Maybe Auth -> Name Organization -> IO (Either Error Organization)
- publicOrganizationR :: Name Organization -> Request k Organization
- organizationsR :: FetchCount -> Request k (Vector SimpleOrganization)
- module GitHub.Data
Documentation
publicOrganizationsFor :: Name User -> 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 Auth -> Name User -> IO (Either Error (Vector SimpleOrganization)) Source #
The public organizations for a user, given the user's login, with authorization
publicOrganizationsFor' (Just $ BasicAuth "github-username" "github-password") "mike-burns"
publicOrganizationsForR :: Name User -> FetchCount -> Request k (Vector SimpleOrganization) Source #
List public user organizations. See https://developer.github.com/v3/orgs/#list-user-organizations
publicOrganization :: Name Organization -> IO (Either Error Organization) Source #
Query an organization. Details on a public organization. Takes the organization's login.
publicOrganization "thoughtbot"
publicOrganization' :: Maybe Auth -> Name Organization -> IO (Either Error Organization) Source #
Details on a public organization. Takes the organization's login.
publicOrganization' (Just $ BasicAuth "github-username" "github-password") "thoughtbot"
publicOrganizationR :: Name Organization -> Request k Organization Source #
Query an organization. See https://developer.github.com/v3/orgs/#get-an-organization
organizationsR :: FetchCount -> Request k (Vector SimpleOrganization) Source #
List all user organizations. See https://developer.github.com/v3/orgs/#list-your-organizations
module GitHub.Data