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

Safe HaskellNone

Github.Gists

Description

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

Synopsis

Documentation

gists :: String -> IO (Either Error [Gist])Source

The list of all public gists created by the user.

 gists "mike-burns"

gists' :: Maybe GithubAuth -> String -> IO (Either Error [Gist])Source

The list of all gists created by the user

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

gist :: String -> IO (Either Error Gist)Source

A specific gist, given its id.

 gist "225074"

gist' :: Maybe GithubAuth -> String -> IO (Either Error Gist)Source

A specific gist, given its id, with authentication credentials

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