-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Access to the Github API, v3. -- -- The Github API provides programmatic access to the full Github Web -- site, from Issues to Gists to repos down to the underlying git data -- like references and trees. This library wraps all of that, exposing a -- basic but Haskell-friendly set of functions and data structures. -- Currently this only supports read-only access. For more of an -- overview please see the README: -- https://github.com/mike-burns/github/blob/master/README.md @package github @version 0.1.2 module Github.Data.Definitions -- | Errors have been tagged according to their source, so you can more -- easily dispatch and handle them. data Error -- | A HTTP error occurred. The actual caught error is included, if -- available. HTTPConnectionError :: IOException -> Error -- | An error in the parser itself. ParseError :: String -> Error -- | The JSON is malformed or unexpected. JsonError :: String -> Error -- | Incorrect input. UserError :: String -> Error -- | A date in the Github format, which is a special case of ISO-8601. newtype GithubDate GithubDate :: UTCTime -> GithubDate fromGithubDate :: GithubDate -> UTCTime data Commit Commit :: String -> [Tree] -> String -> GitCommit -> Maybe GithubUser -> Maybe GithubUser -> [File] -> Maybe Stats -> Commit commitSha :: Commit -> String commitParents :: Commit -> [Tree] commitUrl :: Commit -> String commitGitCommit :: Commit -> GitCommit commitCommitter :: Commit -> Maybe GithubUser commitAuthor :: Commit -> Maybe GithubUser commitFiles :: Commit -> [File] commitStats :: Commit -> Maybe Stats data Tree Tree :: String -> String -> [GitTree] -> Tree treeSha :: Tree -> String treeUrl :: Tree -> String treeGitTrees :: Tree -> [GitTree] data GitTree GitTree :: String -> String -> String -> Maybe Int -> String -> String -> GitTree gitTreeType :: GitTree -> String gitTreeSha :: GitTree -> String gitTreeUrl :: GitTree -> String gitTreeSize :: GitTree -> Maybe Int gitTreePath :: GitTree -> String gitTreeMode :: GitTree -> String data GitCommit GitCommit :: String -> String -> GitUser -> GitUser -> Tree -> Maybe String -> [Tree] -> GitCommit gitCommitMessage :: GitCommit -> String gitCommitUrl :: GitCommit -> String gitCommitCommitter :: GitCommit -> GitUser gitCommitAuthor :: GitCommit -> GitUser gitCommitTree :: GitCommit -> Tree gitCommitSha :: GitCommit -> Maybe String gitCommitParents :: GitCommit -> [Tree] data GithubUser GithubUser :: String -> String -> String -> Int -> String -> GithubUser githubUserAvatarUrl :: GithubUser -> String githubUserLogin :: GithubUser -> String githubUserUrl :: GithubUser -> String githubUserId :: GithubUser -> Int githubUserGravatarId :: GithubUser -> String data GitUser GitUser :: String -> String -> GithubDate -> GitUser gitUserName :: GitUser -> String gitUserEmail :: GitUser -> String gitUserDate :: GitUser -> GithubDate data File File :: String -> String -> String -> Int -> String -> Int -> String -> String -> Int -> File fileBlobUrl :: File -> String fileStatus :: File -> String fileRawUrl :: File -> String fileAdditions :: File -> Int fileSha :: File -> String fileChanges :: File -> Int filePatch :: File -> String fileFilename :: File -> String fileDeletions :: File -> Int data Stats Stats :: Int -> Int -> Int -> Stats statsAdditions :: Stats -> Int statsTotal :: Stats -> Int statsDeletions :: Stats -> Int data Comment Comment :: Maybe Int -> Maybe Int -> String -> String -> UTCTime -> Maybe String -> String -> UTCTime -> Maybe String -> GithubUser -> Int -> Comment commentPosition :: Comment -> Maybe Int commentLine :: Comment -> Maybe Int commentBody :: Comment -> String commentCommitId :: Comment -> String commentUpdatedAt :: Comment -> UTCTime commentHtmlUrl :: Comment -> Maybe String commentUrl :: Comment -> String commentCreatedAt :: Comment -> UTCTime commentPath :: Comment -> Maybe String commentUser :: Comment -> GithubUser commentId :: Comment -> Int data Diff Diff :: String -> Int -> String -> String -> Commit -> [Commit] -> Int -> String -> [File] -> Int -> String -> String -> Diff diffStatus :: Diff -> String diffBehindBy :: Diff -> Int diffPatchUrl :: Diff -> String diffUrl :: Diff -> String diffBaseCommit :: Diff -> Commit diffCommits :: Diff -> [Commit] diffTotalCommits :: Diff -> Int diffHtmlUrl :: Diff -> String diffFiles :: Diff -> [File] diffAheadBy :: Diff -> Int diffDiffUrl :: Diff -> String diffPermalinkUrl :: Diff -> String data Gist Gist :: GithubUser -> String -> String -> Maybe String -> GithubDate -> Bool -> Int -> GithubDate -> String -> String -> [GistFile] -> String -> Gist gistUser :: Gist -> GithubUser gistGitPushUrl :: Gist -> String gistUrl :: Gist -> String gistDescription :: Gist -> Maybe String gistCreatedAt :: Gist -> GithubDate gistPublic :: Gist -> Bool gistComments :: Gist -> Int gistUpdatedAt :: Gist -> GithubDate gistHtmlUrl :: Gist -> String gistId :: Gist -> String gistFiles :: Gist -> [GistFile] gistGitPullUrl :: Gist -> String data GistFile GistFile :: String -> String -> Int -> Maybe String -> String -> Maybe String -> GistFile gistFileType :: GistFile -> String gistFileRawUrl :: GistFile -> String gistFileSize :: GistFile -> Int gistFileLanguage :: GistFile -> Maybe String gistFileFilename :: GistFile -> String gistFileContent :: GistFile -> Maybe String data GistComment GistComment :: GithubUser -> String -> GithubDate -> String -> GithubDate -> Int -> GistComment gistCommentUser :: GistComment -> GithubUser gistCommentUrl :: GistComment -> String gistCommentCreatedAt :: GistComment -> GithubDate gistCommentBody :: GistComment -> String gistCommentUpdatedAt :: GistComment -> GithubDate gistCommentId :: GistComment -> Int data Blob Blob :: String -> String -> String -> String -> Int -> Blob blobUrl :: Blob -> String blobEncoding :: Blob -> String blobContent :: Blob -> String blobSha :: Blob -> String blobSize :: Blob -> Int data GitReference GitReference :: GitObject -> String -> String -> GitReference gitReferenceObject :: GitReference -> GitObject gitReferenceUrl :: GitReference -> String gitReferenceRef :: GitReference -> String data GitObject GitObject :: String -> String -> String -> GitObject gitObjectType :: GitObject -> String gitObjectSha :: GitObject -> String gitObjectUrl :: GitObject -> String data Issue Issue :: Maybe GithubDate -> GithubDate -> String -> Maybe String -> [IssueLabel] -> Int -> Maybe GithubUser -> GithubUser -> String -> PullRequestReference -> String -> GithubDate -> String -> String -> Int -> Int -> Maybe Milestone -> Issue issueClosedAt :: Issue -> Maybe GithubDate issueUpdatedAt :: Issue -> GithubDate issueHtmlUrl :: Issue -> String issueClosedBy :: Issue -> Maybe String issueLabels :: Issue -> [IssueLabel] issueNumber :: Issue -> Int issueAssignee :: Issue -> Maybe GithubUser issueUser :: Issue -> GithubUser issueTitle :: Issue -> String issuePullRequest :: Issue -> PullRequestReference issueUrl :: Issue -> String issueCreatedAt :: Issue -> GithubDate issueBody :: Issue -> String issueState :: Issue -> String issueId :: Issue -> Int issueComments :: Issue -> Int issueMilestone :: Issue -> Maybe Milestone data Milestone Milestone :: GithubUser -> GithubDate -> Int -> Int -> Int -> String -> String -> String -> GithubDate -> String -> Milestone milestoneCreator :: Milestone -> GithubUser milestoneDueOn :: Milestone -> GithubDate milestoneOpenIssues :: Milestone -> Int milestoneNumber :: Milestone -> Int milestoneClosedIssues :: Milestone -> Int milestoneDescription :: Milestone -> String milestoneTitle :: Milestone -> String milestoneUrl :: Milestone -> String milestoneCreatedAt :: Milestone -> GithubDate milestoneState :: Milestone -> String data IssueLabel IssueLabel :: String -> String -> String -> IssueLabel labelColor :: IssueLabel -> String labelUrl :: IssueLabel -> String labelName :: IssueLabel -> String data PullRequestReference PullRequestReference :: Maybe String -> Maybe String -> Maybe String -> PullRequestReference pullRequestReferenceHtmlUrl :: PullRequestReference -> Maybe String pullRequestReferencePatchUrl :: PullRequestReference -> Maybe String pullRequestReferenceDiffUrl :: PullRequestReference -> Maybe String data IssueComment IssueComment :: GithubDate -> GithubUser -> String -> GithubDate -> String -> Int -> IssueComment issueCommentUpdatedAt :: IssueComment -> GithubDate issueCommentUser :: IssueComment -> GithubUser issueCommentUrl :: IssueComment -> String issueCommentCreatedAt :: IssueComment -> GithubDate issueCommentBody :: IssueComment -> String issueCommentId :: IssueComment -> Int -- | Data describing an Event. data EventType Mentioned :: EventType -- | The actor subscribed to receive notifications for an issue. Subscribed :: EventType -- | The issue was unsubscribed from by the actor. Unsubscribed :: EventType -- | The issue was referenced from a commit message. The commit_id -- attribute is the commit SHA1 of where that happened. Referenced :: EventType -- | The issue was merged by the actor. The commit_id attribute is the SHA1 -- of the HEAD commit that was merged. Merged :: EventType -- | The issue was assigned to the actor. Assigned :: EventType -- | The issue was closed by the actor. When the commit_id is present, it -- identifies the commit that closed the issue using closes / fixes #NN -- syntax. Closed :: EventType -- | The issue was reopened by the actor. Reopened :: EventType data Event Event :: GithubUser -> EventType -> Maybe String -> String -> GithubDate -> Int -> Maybe Issue -> Event eventActor :: Event -> GithubUser eventType :: Event -> EventType eventCommitId :: Event -> Maybe String eventUrl :: Event -> String eventCreatedAt :: Event -> GithubDate eventId :: Event -> Int eventIssue :: Event -> Maybe Issue data SimpleOrganization SimpleOrganization :: String -> String -> Int -> String -> SimpleOrganization simpleOrganizationUrl :: SimpleOrganization -> String simpleOrganizationAvatarUrl :: SimpleOrganization -> String simpleOrganizationId :: SimpleOrganization -> Int simpleOrganizationLogin :: SimpleOrganization -> String data Organization Organization :: String -> Maybe String -> Maybe String -> String -> Int -> Maybe String -> String -> Int -> String -> Maybe String -> Int -> Int -> String -> GithubDate -> Maybe String -> Int -> Organization organizationType :: Organization -> String organizationBlog :: Organization -> Maybe String organizationLocation :: Organization -> Maybe String organizationLogin :: Organization -> String organizationFollowers :: Organization -> Int organizationCompany :: Organization -> Maybe String organizationAvatarUrl :: Organization -> String organizationPublicGists :: Organization -> Int organizationHtmlUrl :: Organization -> String organizationEmail :: Organization -> Maybe String organizationFollowing :: Organization -> Int organizationPublicRepos :: Organization -> Int organizationUrl :: Organization -> String organizationCreatedAt :: Organization -> GithubDate organizationName :: Organization -> Maybe String organizationId :: Organization -> Int data PullRequest PullRequest :: Maybe GithubDate -> GithubDate -> GithubUser -> String -> String -> Int -> String -> GithubDate -> String -> String -> String -> String -> PullRequestLinks -> Maybe GithubDate -> String -> Int -> PullRequest pullRequestClosedAt :: PullRequest -> Maybe GithubDate pullRequestCreatedAt :: PullRequest -> GithubDate pullRequestUser :: PullRequest -> GithubUser pullRequestPatchUrl :: PullRequest -> String pullRequestState :: PullRequest -> String pullRequestNumber :: PullRequest -> Int pullRequestHtmlUrl :: PullRequest -> String pullRequestUpdatedAt :: PullRequest -> GithubDate pullRequestBody :: PullRequest -> String pullRequestIssueUrl :: PullRequest -> String pullRequestDiffUrl :: PullRequest -> String pullRequestUrl :: PullRequest -> String pullRequestLinks :: PullRequest -> PullRequestLinks pullRequestMergedAt :: PullRequest -> Maybe GithubDate pullRequestTitle :: PullRequest -> String pullRequestId :: PullRequest -> Int data DetailedPullRequest DetailedPullRequest :: Maybe GithubDate -> GithubDate -> GithubUser -> String -> String -> Int -> String -> GithubDate -> String -> String -> String -> String -> PullRequestLinks -> Maybe GithubDate -> String -> Int -> Maybe GithubUser -> Int -> PullRequestCommit -> Int -> Int -> Int -> Int -> PullRequestCommit -> Int -> Bool -> Bool -> DetailedPullRequest detailedPullRequestClosedAt :: DetailedPullRequest -> Maybe GithubDate detailedPullRequestCreatedAt :: DetailedPullRequest -> GithubDate detailedPullRequestUser :: DetailedPullRequest -> GithubUser detailedPullRequestPatchUrl :: DetailedPullRequest -> String detailedPullRequestState :: DetailedPullRequest -> String detailedPullRequestNumber :: DetailedPullRequest -> Int detailedPullRequestHtmlUrl :: DetailedPullRequest -> String detailedPullRequestUpdatedAt :: DetailedPullRequest -> GithubDate detailedPullRequestBody :: DetailedPullRequest -> String detailedPullRequestIssueUrl :: DetailedPullRequest -> String detailedPullRequestDiffUrl :: DetailedPullRequest -> String detailedPullRequestUrl :: DetailedPullRequest -> String detailedPullRequestLinks :: DetailedPullRequest -> PullRequestLinks detailedPullRequestMergedAt :: DetailedPullRequest -> Maybe GithubDate detailedPullRequestTitle :: DetailedPullRequest -> String detailedPullRequestId :: DetailedPullRequest -> Int detailedPullRequestMergedBy :: DetailedPullRequest -> Maybe GithubUser detailedPullRequestChangedFiles :: DetailedPullRequest -> Int detailedPullRequestHead :: DetailedPullRequest -> PullRequestCommit detailedPullRequestComments :: DetailedPullRequest -> Int detailedPullRequestDeletions :: DetailedPullRequest -> Int detailedPullRequestAdditions :: DetailedPullRequest -> Int detailedPullRequestReviewComments :: DetailedPullRequest -> Int detailedPullRequestBase :: DetailedPullRequest -> PullRequestCommit detailedPullRequestCommits :: DetailedPullRequest -> Int detailedPullRequestMerged :: DetailedPullRequest -> Bool detailedPullRequestMergeable :: DetailedPullRequest -> Bool data PullRequestLinks PullRequestLinks :: String -> String -> String -> String -> PullRequestLinks pullRequestLinksReviewComments :: PullRequestLinks -> String pullRequestLinksComments :: PullRequestLinks -> String pullRequestLinksHtml :: PullRequestLinks -> String pullRequestLinksSelf :: PullRequestLinks -> String data PullRequestCommit PullRequestCommit :: PullRequestCommit data Repo Repo :: String -> String -> GithubDate -> String -> String -> Int -> Maybe String -> Bool -> String -> Bool -> String -> Int -> GithubDate -> Int -> GithubUser -> String -> String -> Maybe String -> GithubDate -> Int -> String -> Int -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Repo repoSshUrl :: Repo -> String repoDescription :: Repo -> String repoCreatedAt :: Repo -> GithubDate repoHtmlUrl :: Repo -> String repoSvnUrl :: Repo -> String repoForks :: Repo -> Int repoHomepage :: Repo -> Maybe String repoFork :: Repo -> Bool repoGitUrl :: Repo -> String repoPrivate :: Repo -> Bool repoCloneUrl :: Repo -> String repoSize :: Repo -> Int repoUpdatedAt :: Repo -> GithubDate repoWatchers :: Repo -> Int repoOwner :: Repo -> GithubUser repoName :: Repo -> String repoLanguage :: Repo -> String repoMasterBranch :: Repo -> Maybe String repoPushedAt :: Repo -> GithubDate repoId :: Repo -> Int repoUrl :: Repo -> String repoOpenIssues :: Repo -> Int repoHasWiki :: Repo -> Maybe Bool repoHasIssues :: Repo -> Maybe Bool repoHasDownloads :: Repo -> Maybe Bool data Contributor -- | An existing Github user, with their number of contributions, avatar -- URL, login, URL, ID, and Gravatar ID. KnownContributor :: Int -> String -> String -> String -> Int -> String -> Contributor -- | An unknown Github user with their number of contributions and recorded -- name. AnonymousContributor :: Int -> String -> Contributor -- | This is only used for the FromJSON instance. data Languages Languages :: [Language] -> Languages getLanguages :: Languages -> [Language] -- | A programming language with the name and number of characters written -- in it. data Language Language :: String -> Int -> Language data Tag Tag :: String -> String -> String -> BranchCommit -> Tag tagName :: Tag -> String tagZipballUrl :: Tag -> String tagTarballUrl :: Tag -> String tagCommit :: Tag -> BranchCommit data Branch Branch :: String -> BranchCommit -> Branch branchName :: Branch -> String branchCommit :: Branch -> BranchCommit data BranchCommit BranchCommit :: String -> String -> BranchCommit branchCommitSha :: BranchCommit -> String branchCommitUrl :: BranchCommit -> String data DetailedUser DetailedUser :: GithubDate -> String -> Int -> String -> Int -> Int -> Bool -> String -> Maybe String -> Maybe String -> Int -> Maybe String -> Maybe String -> Maybe String -> String -> String -> Int -> String -> String -> DetailedUser detailedUserCreatedAt :: DetailedUser -> GithubDate detailedUserType :: DetailedUser -> String detailedUserPublicGists :: DetailedUser -> Int detailedUserAvatarUrl :: DetailedUser -> String detailedUserFollowers :: DetailedUser -> Int detailedUserFollowing :: DetailedUser -> Int detailedUserHireable :: DetailedUser -> Bool detailedUserGravatarId :: DetailedUser -> String detailedUserBlog :: DetailedUser -> Maybe String detailedUserBio :: DetailedUser -> Maybe String detailedUserPublicRepos :: DetailedUser -> Int detailedUserName :: DetailedUser -> Maybe String detailedUserLocation :: DetailedUser -> Maybe String detailedUserCompany :: DetailedUser -> Maybe String detailedUserEmail :: DetailedUser -> String detailedUserUrl :: DetailedUser -> String detailedUserId :: DetailedUser -> Int detailedUserHtmlUrl :: DetailedUser -> String detailedUserLogin :: DetailedUser -> String instance Typeable GithubDate instance Typeable GitTree instance Typeable Tree instance Typeable GithubUser instance Typeable GitUser instance Typeable GitCommit instance Typeable File instance Typeable Stats instance Typeable Commit instance Typeable Comment instance Typeable Diff instance Typeable GistFile instance Typeable Gist instance Typeable GistComment instance Typeable Blob instance Typeable GitObject instance Typeable GitReference instance Typeable Milestone instance Typeable IssueLabel instance Typeable PullRequestReference instance Typeable Issue instance Typeable IssueComment instance Typeable EventType instance Typeable Event instance Typeable SimpleOrganization instance Typeable Organization instance Typeable PullRequestLinks instance Typeable PullRequest instance Typeable PullRequestCommit instance Typeable DetailedPullRequest instance Typeable Repo instance Typeable Contributor instance Typeable Language instance Typeable Languages instance Typeable BranchCommit instance Typeable Branch instance Typeable Tag instance Typeable DetailedUser instance Eq HttpException instance Show Error instance Eq Error instance Show GithubDate instance Data GithubDate instance Eq GithubDate instance Ord GithubDate instance Show GitTree instance Data GitTree instance Eq GitTree instance Ord GitTree instance Show Tree instance Data Tree instance Eq Tree instance Ord Tree instance Show GithubUser instance Data GithubUser instance Eq GithubUser instance Ord GithubUser instance Show GitUser instance Data GitUser instance Eq GitUser instance Ord GitUser instance Show GitCommit instance Data GitCommit instance Eq GitCommit instance Ord GitCommit instance Show File instance Data File instance Eq File instance Ord File instance Show Stats instance Data Stats instance Eq Stats instance Ord Stats instance Show Commit instance Data Commit instance Eq Commit instance Ord Commit instance Show Comment instance Data Comment instance Eq Comment instance Ord Comment instance Show Diff instance Data Diff instance Eq Diff instance Ord Diff instance Show GistFile instance Data GistFile instance Eq GistFile instance Ord GistFile instance Show Gist instance Data Gist instance Eq Gist instance Ord Gist instance Show GistComment instance Data GistComment instance Eq GistComment instance Ord GistComment instance Show Blob instance Data Blob instance Eq Blob instance Ord Blob instance Show GitObject instance Data GitObject instance Eq GitObject instance Ord GitObject instance Show GitReference instance Data GitReference instance Eq GitReference instance Ord GitReference instance Show Milestone instance Data Milestone instance Eq Milestone instance Ord Milestone instance Show IssueLabel instance Data IssueLabel instance Eq IssueLabel instance Ord IssueLabel instance Show PullRequestReference instance Data PullRequestReference instance Eq PullRequestReference instance Ord PullRequestReference instance Show Issue instance Data Issue instance Eq Issue instance Ord Issue instance Show IssueComment instance Data IssueComment instance Eq IssueComment instance Ord IssueComment instance Show EventType instance Data EventType instance Eq EventType instance Ord EventType instance Show Event instance Data Event instance Eq Event instance Ord Event instance Show SimpleOrganization instance Data SimpleOrganization instance Eq SimpleOrganization instance Ord SimpleOrganization instance Show Organization instance Data Organization instance Eq Organization instance Ord Organization instance Show PullRequestLinks instance Data PullRequestLinks instance Eq PullRequestLinks instance Ord PullRequestLinks instance Show PullRequest instance Data PullRequest instance Eq PullRequest instance Ord PullRequest instance Show PullRequestCommit instance Data PullRequestCommit instance Eq PullRequestCommit instance Ord PullRequestCommit instance Show DetailedPullRequest instance Data DetailedPullRequest instance Eq DetailedPullRequest instance Ord DetailedPullRequest instance Show Repo instance Data Repo instance Eq Repo instance Ord Repo instance Show Contributor instance Data Contributor instance Eq Contributor instance Ord Contributor instance Show Language instance Data Language instance Eq Language instance Ord Language instance Show Languages instance Data Languages instance Eq Languages instance Ord Languages instance Show BranchCommit instance Data BranchCommit instance Eq BranchCommit instance Ord BranchCommit instance Show Branch instance Data Branch instance Eq Branch instance Ord Branch instance Show Tag instance Data Tag instance Eq Tag instance Ord Tag instance Show DetailedUser instance Data DetailedUser instance Eq DetailedUser instance Ord DetailedUser -- | This module re-exports the Github.Data.Definitions module, -- adding instances of FromJSON to it. If you wish to use the -- data without the instances, use the Github.Data.Definitions -- module instead. module Github.Data instance FromJSON DetailedUser instance FromJSON BranchCommit instance FromJSON Branch instance FromJSON Tag instance FromJSON Languages instance FromJSON Contributor instance FromJSON Repo instance FromJSON PullRequestCommit instance FromJSON PullRequestLinks instance FromJSON DetailedPullRequest instance FromJSON PullRequest instance FromJSON Organization instance FromJSON SimpleOrganization instance FromJSON EventType instance FromJSON Event instance FromJSON IssueComment instance FromJSON PullRequestReference instance FromJSON IssueLabel instance FromJSON Milestone instance FromJSON Issue instance FromJSON GitObject instance FromJSON GitReference instance FromJSON Blob instance FromJSON GistComment instance FromJSON GistFile instance FromJSON Gist instance FromJSON Diff instance FromJSON Comment instance FromJSON Stats instance FromJSON File instance FromJSON GitUser instance FromJSON GithubUser instance FromJSON GitCommit instance FromJSON GitTree instance FromJSON Tree instance FromJSON Commit instance FromJSON GithubDate -- | The gists API as described at -- http://developer.github.com/v3/gists/. module Github.Gists -- | The list of all public gists created by the user. -- --
--   gists "mike-burns"
--   
gists :: String -> IO (Either Error [Gist]) -- | A specific gist, given its id. -- --
--   gist "225074"
--   
gist :: String -> IO (Either Error Gist) -- | The loving comments people have left on Gists, described on -- http://developer.github.com/v3/gists/comments/. module Github.Gists.Comments -- | All the comments on a Gist, given the Gist ID. -- --
--   commentsOn "1174060"
--   
commentsOn :: String -> IO (Either Error [GistComment]) -- | A specific comment, by the comment ID. -- --
--   comment "62449"
--   
comment :: String -> IO (Either Error GistComment) -- | The API for dealing with git blobs from Github repos, as described in -- http://developer.github.com/v3/git/blobs/. module Github.GitData.Blobs -- | Get a blob by SHA1. -- --
--   blob "thoughtbot" "paperclip" "bc5c51d1ece1ee45f94b056a0f5a1674d7e8cba9"
--   
blob :: String -> String -> String -> IO (Either Error Blob) -- | The API for underlying git commits of a Github repo, as described on -- http://developer.github.com/v3/git/commits/. module Github.GitData.Commits -- | A single commit, by SHA1. -- --
--   commit "thoughtbot" "paperclip" "bc5c51d1ece1ee45f94b056a0f5a1674d7e8cba9"
--   
commit :: String -> String -> String -> IO (Either Error GitCommit) -- | The underlying git references on a Github repo, exposed for the world -- to see. The git internals documentation will also prove handy for -- understanding these. API documentation at -- http://developer.github.com/v3/git/refs/. module Github.GitData.References -- | A single reference by the ref name. -- --
--   reference "mike-burns" "github" "heads/master"
--   
reference :: String -> String -> String -> IO (Either Error GitReference) -- | The history of references for a repo. -- --
--   references "mike-burns" "github"
--   
references :: String -> String -> IO (Either Error [GitReference]) -- | Limited references by a namespace. -- --
--   namespacedReferences "thoughtbot" "paperclip" "tags"
--   
namespacedReferences :: String -> String -> String -> IO (Either Error [GitReference]) -- | The underlying tree of SHA1s and files that make up a git repo. The -- API is described on http://developer.github.com/v3/git/trees/. module Github.GitData.Trees -- | A tree for a SHA1. -- --
--   tree "thoughtbot" "paperclip" "fe114451f7d066d367a1646ca7ac10e689b46844"
--   
tree :: String -> String -> String -> IO (Either Error Tree) -- | A recursively-nested tree for a SHA1. -- --
--   nestedTree "thoughtbot" "paperclip" "fe114451f7d066d367a1646ca7ac10e689b46844"
--   
nestedTree :: String -> String -> String -> IO (Either Error Tree) -- | The issues API as described on -- http://developer.github.com/v3/issues/. module Github.Issues -- | Details on a specific issue, given the repo owner and name, and the -- issue number. -- --
--   issue "thoughtbot" "paperclip" "462"
--   
issue :: String -> String -> Int -> IO (Either Error Issue) -- | All issues for a repo (given the repo owner and name), with optional -- restrictions as described in the IssueLimitation data type. -- --
--   issuesForRepo "thoughtbot" "paperclip" [NoMilestone, OnlyClosed, Mentions "jyurek", Ascending]
--   
issuesForRepo :: String -> String -> [IssueLimitation] -> IO (Either Error [Issue]) -- | A data structure for describing how to filter issues. This is used by -- issuesForRepo. data IssueLimitation -- | Issues appearing in any milestone. [default] AnyMilestone :: IssueLimitation -- | Issues without a milestone. NoMilestone :: IssueLimitation -- | Only issues that are in the milestone with the given id. MilestoneId :: Int -> IssueLimitation -- | Only open issues. [default] Open :: IssueLimitation -- | Only closed issues. OnlyClosed :: IssueLimitation -- | Issues to which no one has been assigned ownership. Unassigned :: IssueLimitation -- | All issues regardless of assignment. [default] AnyAssignment :: IssueLimitation -- | Only issues assigned to the user with the given login. AssignedTo :: String -> IssueLimitation -- | Issues which mention the given string, taken to be a user's login. Mentions :: String -> IssueLimitation -- | A list of labels to filter by. Labels :: [String] -> IssueLimitation -- | Sort ascending. Ascending :: IssueLimitation -- | Sort descending. [default] Descending :: IssueLimitation -- | Only issues created since the specified date and time. Since :: UTCTime -> IssueLimitation -- | The Github issue comments API from -- http://developer.github.com/v3/issues/comments/. module Github.Issues.Comments -- | A specific comment, by ID. -- --
--   comment "thoughtbot" "paperclip" 1468184
--   
comment :: String -> String -> Int -> IO (Either Error IssueComment) -- | All comments on an issue, by the issue's number. -- --
--   comments "thoughtbot" "paperclip" 635
--   
comments :: String -> String -> Int -> IO (Either Error [IssueComment]) -- | The Github issue events API, which is described on -- http://developer.github.com/v3/issues/events/ module Github.Issues.Events -- | All events that have happened on an issue. -- --
--   eventsForIssue "thoughtbot" "paperclip" 49
--   
eventsForIssue :: String -> String -> Int -> IO (Either Error [Event]) -- | All the events for all issues in a repo. -- --
--   eventsForRepo "thoughtbot" "paperclip"
--   
eventsForRepo :: String -> String -> IO (Either Error [Event]) -- | Details on a specific event, by the event's ID. -- --
--   event "thoughtbot" "paperclip" 5335772
--   
event :: String -> String -> Int -> IO (Either Error Event) -- | The API for dealing with labels on Github issues, as described on -- http://developer.github.com/v3/issues/labels/. module Github.Issues.Labels -- | A label, by name. -- --
--   Github.label "thoughtbot" "paperclip" "bug"
--   
label :: String -> String -> String -> IO (Either Error IssueLabel) -- | All the labels available to use on any issue in the repo. -- --
--   labelsOnRepo "thoughtbot" "paperclip"
--   
labelsOnRepo :: String -> String -> IO (Either Error [IssueLabel]) -- | The labels on an issue in a repo. -- --
--   labelsOnIssue "thoughtbot" "paperclip" 585
--   
labelsOnIssue :: String -> String -> Int -> IO (Either Error [IssueLabel]) -- | All the labels on a repo's milestone, given the milestone ID. -- --
--   labelsOnMilestone "thoughtbot" "paperclip" 2
--   
labelsOnMilestone :: String -> String -> Int -> IO (Either Error [IssueLabel]) -- | The milestones API as described on -- http://developer.github.com/v3/issues/milestones/. module Github.Issues.Milestones -- | All milestones in the repo. -- --
--   milestones "thoughtbot" "paperclip"
--   
milestones :: String -> String -> IO (Either Error [Milestone]) -- | Details on a specific milestone, given it's milestone number. -- --
--   milestone "thoughtbot" "paperclip" 2
--   
milestone :: String -> String -> Int -> IO (Either Error Milestone) -- | The orgs API as described on -- http://developer.github.com/v3/orgs/. module Github.Organizations -- | The public organizations for a user, given the user's login. -- --
--   publicOrganizationsFor "mike-burns"
--   
publicOrganizationsFor :: String -> IO (Either Error [SimpleOrganization]) -- | Details on a public organization. Takes the organization's login. -- --
--   publicOrganization "thoughtbot"
--   
publicOrganization :: String -> IO (Either Error Organization) -- | The organization members API as described on -- http://developer.github.com/v3/orgs/members/. module Github.Organizations.Members -- | All the users who are members of the specified organization. -- --
--   membersOf "thoughtbot"
--   
membersOf :: String -> IO (Either Error [GithubUser]) -- | The pull requests API as documented at -- http://developer.github.com/v3/pulls/. module Github.PullRequests -- | All pull requests for the repo, by owner and repo name. -- --
--   pullRequestsFor "rails" "rails"
--   
pullRequestsFor :: String -> String -> IO (Either Error [PullRequest]) -- | A detailed pull request, which has much more information. This takes -- the repo owner and name along with the number assigned to the pull -- request. -- --
--   pullRequest "thoughtbot" "paperclip" 562
--   
pullRequest :: String -> String -> Int -> IO (Either Error DetailedPullRequest) -- | All the commits on a pull request, given the repo owner, repo name, -- and the number of the pull request. -- --
--   pullRequestCommits "thoughtbot" "paperclip" 688
--   
pullRequestCommits :: String -> String -> Int -> IO (Either Error [Commit]) -- | The individual files that a pull request patches. Takes the repo owner -- and name, plus the number assigned to the pull request. -- --
--   pullRequestFiles "thoughtbot" "paperclip" 688
--   
pullRequestFiles :: String -> String -> Int -> IO (Either Error [File]) -- | The Github Repos API, as documented at -- http://developer.github.com/v3/repos/ module Github.Repos -- | The repos for a user, by their login. Can be restricted to just repos -- they own, are a member of, or publicize. Private repos are currently -- not supported. -- --
--   userRepos "mike-burns" All
--   
userRepos :: String -> RepoPublicity -> IO (Either Error [Repo]) -- | The repos for an organization, by the organization name. -- --
--   organizationRepos "thoughtbot"
--   
organizationRepos :: String -> IO (Either Error [Repo]) -- | Details on a specific repo, given the owner and repo name. -- --
--   userRepo "mike-burns" "github"
--   
userRepo :: String -> String -> IO (Either Error Repo) -- | The contributors to a repo, given the owner and repo name. -- --
--   contributors "thoughtbot" "paperclip"
--   
contributors :: String -> String -> IO (Either Error [Contributor]) -- | The contributors to a repo, including anonymous contributors (such as -- deleted users or git commits with unknown email addresses), given the -- owner and repo name. -- --
--   contributorsWithAnonymous "thoughtbot" "paperclip"
--   
contributorsWithAnonymous :: String -> String -> IO (Either Error [Contributor]) -- | The programming languages used in a repo along with the number of -- characters written in that language. Takes the repo owner and name. -- --
--   languagesFor "mike-burns" "ohlaunch"
--   
languagesFor :: String -> String -> IO (Either Error [Language]) -- | The git tags on a repo, given the repo owner and name. -- --
--   tagsFor "thoughtbot" "paperclip"
--   
tagsFor :: String -> String -> IO (Either Error [Tag]) -- | The git branches on a repo, given the repo owner and name. -- --
--   branchesFor "thoughtbot" "paperclip"
--   
branchesFor :: String -> String -> IO (Either Error [Branch]) -- | Filter the list of the user's repos using any of these constructors. data RepoPublicity -- | All repos accessible to the user. All :: RepoPublicity -- | Only repos owned by the user. Owner :: RepoPublicity -- | Only public repos. Public :: RepoPublicity -- | Only private repos. Private :: RepoPublicity -- | Only repos to which the user is a member but not an owner. Member :: RepoPublicity instance Show RepoPublicity instance Eq RepoPublicity -- | The repo collaborators API as described on -- http://developer.github.com/v3/repos/collaborators/. module Github.Repos.Collaborators -- | All the users who have collaborated on a repo. -- --
--   collaboratorsOn "thoughtbot" "paperclip"
--   
collaboratorsOn :: String -> String -> IO (Either Error [GithubUser]) -- | Whether the user is collaborating on a repo. Takes the user in -- question, the user who owns the repo, and the repo name. -- --
--   isCollaboratorOn "mike-burns" "thoughtbot" "paperclip"
--   isCollaboratorOn "johnson" "thoughtbot" "paperclip"
--   
isCollaboratorOn :: String -> String -> String -> IO (Either Error Bool) -- | The repo commits API as described on -- http://developer.github.com/v3/repos/commits/. module Github.Repos.Commits -- | The commit history for a repo. -- --
--   commitsFor "mike-burns" "github"
--   
commitsFor :: String -> String -> IO (Either Error [Commit]) -- | Details on a specific SHA1 for a repo. -- --
--   commit "mike-burns" "github" "9d1a9a361266c3c890b1108ad2fdf52f824b1b81"
--   
commit :: String -> String -> String -> IO (Either Error Commit) -- | All the comments on a Github repo. -- --
--   commentsFor "thoughtbot" "paperclip"
--   
commentsFor :: String -> String -> IO (Either Error [Comment]) -- | Just the comments on a specific SHA for a given Github repo. -- --
--   commitCommentsFor "thoughtbot" "paperclip" "41f685f6e01396936bb8cd98e7cca517e2c7d96b"
--   
commitCommentsFor :: String -> String -> String -> IO (Either Error [Comment]) -- | A comment, by its ID, relative to the Github repo. -- --
--   commitCommentFor "thoughtbot" "paperclip" "669575"
--   
commitCommentFor :: String -> String -> String -> IO (Either Error Comment) -- | The diff between two treeishes on a repo. -- --
--   diff "thoughtbot" "paperclip" "41f685f6e01396936bb8cd98e7cca517e2c7d96b" "HEAD"
--   
diff :: String -> String -> String -> String -> IO (Either Error Diff) -- | Hot forking action, as described at -- http://developer.github.com/v3/repos/forks/. module Github.Repos.Forks -- | All the repos that are forked off the given repo. -- --
--   forksFor "thoughtbot" "paperclip"
--   
forksFor :: String -> String -> IO (Either Error [Repo]) -- | The repo watching API as described on -- http://developer.github.com/v3/repos/watching/. module Github.Repos.Watching -- | The list of users that are watching the specified Github repo. -- --
--   watchersFor "thoughtbot" "paperclip"
--   
watchersFor :: String -> String -> IO (Either Error [GithubUser]) -- | All the public repos watched by the specified user. -- --
--   reposWatchedBy "croaky"
--   
reposWatchedBy :: String -> IO (Either Error [Repo]) -- | The Github Users API, as described at -- http://developer.github.com/v3/users/. module Github.Users -- | The information for a single user, by login name. -- --
--   userInfoFor "mike-burns"
--   
userInfoFor :: String -> IO (Either Error DetailedUser) -- | The user followers API as described on -- http://developer.github.com/v3/users/followers/. module Github.Users.Followers -- | All the users following the given user. -- --
--   usersFollowing "mike-burns"
--   
usersFollowing :: String -> IO (Either Error [GithubUser]) -- | All the users that the given user follows. -- --
--   usersFollowedBy "mike-burns"
--   
usersFollowedBy :: String -> IO (Either Error [GithubUser])