github-data

Access to the GitHub API, v3. https://github.com/strake/github.hs

Latest on Hackage:0.18

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Mike Burns, John Wiegley, Oleg Grenrus
Maintained by M Farkas-Dyck

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

comments powered byDisqus