octohat-0.1: A tested, minimal wrapper around GitHub's API. Very incomplete at the moment

Safe HaskellNone
LanguageHaskell2010

Network.Octohat

Description

Convenience functions for some common operations with teams. Execute the result of these functions using runGitHub or runGitHub'

Synopsis

Documentation

addUserToTeam Source

Arguments

:: Text

GitHub username

-> Text

GitHub organization name

-> Text

GitHub team name

-> GitHub StatusInTeam 

Adds a user with nameOfUser to the team named nameOfTeam within the organization named nameOfOrg

membersOfTeamInOrganization Source

Arguments

:: Text

GitHub organization name

-> Text

GitHub team name

-> GitHub [Member] 

Gets all the members of the organization

keysOfTeamInOrganization Source

Arguments

:: Text

GitHub organization name

-> Text

GitHub team name

-> GitHub [MemberWithKey] 

Retrieves a list of members in a given team within an organization together with their public keys

teamForTeamNameInOrg Source

Arguments

:: Text

Team name

-> Text

Organization name

-> GitHub Team