github: 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.
For supported endpoints see GitHub module.
import qualified GitHub as GH main :: IO () main = do possibleUser <- GH.executeRequest' $ GH.userInfoForR "phadej" print possibleUser
For more of an overview please see the README: https://github.com/phadej/github/blob/master/README.md
[Skip to Readme]
Modules
[Index] [Quick Jump]
- GitHub
- GitHub.Auth
- GitHub.Data
- GitHub.Data.Activities
- GitHub.Data.Comments
- GitHub.Data.Content
- GitHub.Data.Definitions
- GitHub.Data.DeployKeys
- GitHub.Data.Deployments
- GitHub.Data.Email
- GitHub.Data.Events
- GitHub.Data.Gists
- GitHub.Data.GitData
- GitHub.Data.Id
- GitHub.Data.Invitation
- GitHub.Data.Issues
- GitHub.Data.Milestone
- GitHub.Data.Name
- GitHub.Data.Options
- GitHub.Data.PublicSSHKeys
- GitHub.Data.PullRequests
- GitHub.Data.RateLimit
- GitHub.Data.Releases
- GitHub.Data.Repos
- GitHub.Data.Request
- GitHub.Data.Reviews
- GitHub.Data.Search
- GitHub.Data.Statuses
- GitHub.Data.Teams
- GitHub.Data.URL
- GitHub.Data.Webhooks
- Endpoints
- Activity
- GitHub.Endpoints.Gists
- GitData
- GitHub.Endpoints.Issues
- GitHub.Endpoints.Organizations
- GitHub.Endpoints.PullRequests
- GitHub.Endpoints.RateLimit
- GitHub.Endpoints.Repos
- GitHub.Endpoints.Repos.Collaborators
- GitHub.Endpoints.Repos.Comments
- GitHub.Endpoints.Repos.Commits
- GitHub.Endpoints.Repos.Contents
- GitHub.Endpoints.Repos.DeployKeys
- GitHub.Endpoints.Repos.Deployments
- GitHub.Endpoints.Repos.Forks
- GitHub.Endpoints.Repos.Invitations
- GitHub.Endpoints.Repos.Releases
- GitHub.Endpoints.Repos.Statuses
- GitHub.Endpoints.Repos.Webhooks
- GitHub.Endpoints.Search
- GitHub.Endpoints.Users
- Internal
- GitHub.Request
Flags
Manual Flags
Name | Description | Default |
---|---|---|
openssl | "Use http-client-openssl" | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- github-0.23.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.8, 0.9, 0.10.0, 0.11.0, 0.11.1, 0.12, 0.13, 0.13.1, 0.13.2, 0.14.0, 0.14.1, 0.15.0, 0.16.0, 0.17.0, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.28.0.1, 0.29 |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=1.4.0.0 && <1.5), base (>=4.7 && <4.14), base-compat (>=0.10.4 && <0.12), base16-bytestring (>=0.1.1.6 && <0.2), binary (>=0.7.1.0 && <0.11), binary-instances (>=1 && <1.1), bytestring (>=0.10.4.0 && <0.11), containers (>=0.5.5.1 && <0.7), cryptohash-sha1 (>=0.11.100.1 && <0.12), deepseq (>=1.3.0.2 && <1.5), deepseq-generics (>=0.2.0.0 && <0.3), exceptions (>=0.10.2 && <0.11), hashable (>=1.2.7.0 && <1.4), http-client (>=0.5.12 && <0.7), http-client-tls (>=0.3.5.3 && <0.4), http-link-header (>=1.0.3.1 && <1.1), http-types (>=0.12.3 && <0.13), iso8601-time (>=0.1.5 && <0.2), mtl (>=2.1.3.1 && <2.2 || >=2.2.1 && <2.3), network-uri (>=2.6.1.0 && <2.7), semigroups (>=0.18.5 && <0.20), tagged (>=0.8.5 && <0.9), text (>=1.2.0.6 && <1.3), time (>=1.4 && <1.10), tls (>=1.4.1), transformers (>=0.3.0.0 && <0.6), transformers-compat (>=0.6.5 && <0.7), unordered-containers (>=0.2.10.0 && <0.3), vector (>=0.12.0.1 && <0.13), vector-instances (>=3.4 && <3.5) [details] |
Tested with | ghc ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1 |
License | BSD-3-Clause |
Copyright | Copyright 2012-2013 Mike Burns, Copyright 2013-2015 John Wiegley, Copyright 2016-2019 Oleg Grenrus |
Author | Mike Burns, John Wiegley, Oleg Grenrus |
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Category | Network |
Home page | https://github.com/phadej/github |
Source repo | head: git clone git://github.com/phadej/github.git |
Uploaded | by phadej at 2019-10-01T07:02:59Z |
Distributions | Debian:0.23, LTSHaskell:0.29, NixOS:0.29 |
Reverse Dependencies | 11 direct, 0 indirect [details] |
Downloads | 37091 total (86 in the last 30 days) |
Rating | 2.0 (votes: 5) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2019-10-01 [all 1 reports] |