github-0.16.0: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Endpoints.Gists

Description

The gists API as described at http://developer.github.com/v3/gists/.

Synopsis

Documentation

gists :: Name Owner -> IO (Either Error (Vector Gist)) Source #

The list of all public gists created by the user.

gists "mike-burns"

gists' :: Maybe Auth -> Name Owner -> IO (Either Error (Vector Gist)) Source #

The list of all gists created by the user

gists' (Just ("github-username", "github-password")) "mike-burns"

gist :: Name Gist -> IO (Either Error Gist) Source #

A specific gist, given its id.

gist "225074"

gist' :: Maybe Auth -> Name Gist -> IO (Either Error Gist) Source #

A specific gist, given its id, with authentication credentials

gist' (Just ("github-username", "github-password")) "225074"