License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The gists API as described at http://developer.github.com/v3/gists/.
- gists :: Name Owner -> IO (Either Error (Vector Gist))
- gists' :: Maybe Auth -> Name Owner -> IO (Either Error (Vector Gist))
- gistsR :: Name Owner -> FetchCount -> Request k (Vector Gist)
- gist :: Name Gist -> IO (Either Error Gist)
- gist' :: Maybe Auth -> Name Gist -> IO (Either Error Gist)
- gistR :: Name Gist -> Request k Gist
- module GitHub.Data
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"
gistsR :: Name Owner -> FetchCount -> Request k (Vector Gist) Source #
List gists. See https://developer.github.com/v3/gists/#list-gists
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"
gistR :: Name Gist -> Request k Gist Source #
Query a single gist. See https://developer.github.com/v3/gists/#get-a-single-gist
module GitHub.Data