github-0.14.0: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell2010

Github.Gists

Description

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

Synopsis

Documentation

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

The list of all public gists created by the user.

gists "mike-burns"

gists' :: Maybe GithubAuth -> Name GithubOwner -> 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 GithubAuth -> Name Gist -> IO (Either Error Gist) Source

A specific gist, given its id, with authentication credentials

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