The latest version of servant-github is 0.1.0.6-0.
servant-github
Version 0.1.0.1 revision 0 uploaded by finlay.
Package meta
- Synopsis
- Bindings to GitHub API using servant.
- Description
This package provides a servant-client based client for accessing the GitHub API v3.
The github client is provided through the Network.GitHub.GitHub monad, which provides support for managing the user-agent (a requirement for github), an authentication token, and, pagination support when the resulting value is a list.
import System.Environment import Data.String import Network.GitHub main = do token <- fmap fromString <$> lookupEnv "GITHUB_TOKEN" result <- runGitHub userOrganisations token case result of Left e -> print e Right orgs -> mapM_ print orgs
- Author
- Finlay Thompson
- Bug reports
- n/a
- Category
- Web
- Copyright
- 2015 Finlay Thompson
- Homepage
- http://github.com/finlay/servant-github#readme
- Maintainer
- finlay.thompson@gmail.com
- Package URL
- n/a
- Stability
- n/a