The github-data package

[ Tags: bsd3, library, network ] [ Propose Tags ]

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.userInfoR "phadej"
    print possibleUser

For more of an overview please see the README: https://github.com/phadej/github/blob/master/README.md

Properties

Versions 0.18
Dependencies aeson (>=0.7.0.6 && <1.3), aeson-compat (>=0.3.0.0 && <0.4), aeson-extra (>=0.2.0.0 && <0.3), base (>=4.7 && <4.11), base-compat (>=0.9.1 && <0.10), base16-bytestring (>=0.1.1.6 && <0.2), binary (>=0.7.1.0 && <0.10), binary-orphans (>=0.1.0.0 && <0.2), bytestring (>=0.10.4.0 && <0.11), containers (>=0.5.5.1 && <0.6), deepseq (>=1.3.0.2 && <1.5), deepseq-generics (>=0.1.1.2 && <0.3), exceptions (>=0.8.0.2 && <0.9), hashable (>=1.2.3.3 && <1.3), http-client (>=0.4.8.1 && <0.6), http-types (>=0.8.6 && <0.12), iso8601-time (>=0.1.4 && <0.2), network-uri (>=2.6.0.3 && <2.7), text (>=1.2.0.6 && <1.3), time (>=1.4 && <1.9), tls (>=1.3.5), transformers (>=0.3.0.0 && <0.6), transformers-compat (>=0.4.0.3 && <0.6), unordered-containers (==0.2.*), vector (>=0.10.12.3 && <0.13), vector-instances (>=3.3.0.1 && <3.5) [details]
License BSD3
Copyright Copyright 2012-2013 Mike Burns, Copyright 2013-2015 John Wiegley, Copyright 2016 Oleg Grenrus
Author Mike Burns, John Wiegley, Oleg Grenrus
Maintainer M Farkas-Dyck <strake888@gmail.com>
Category Network
Home page https://github.com/strake/github.hs
Source repo head: git clone git://github.com/phadej/github.git
Uploaded Sun Jan 21 21:36:01 UTC 2018 by MatthewFarkasDyck
Distributions NixOS:0.18
Downloads 29 total (9 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-01-21 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
aeson-compat

Whether to use aeson-compat or aeson-extra

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees