Safe Haskell | None |
---|---|
Language | Haskell2010 |
The gists API as described at http://developer.github.com/v3/gists/.
- gists :: Name GithubOwner -> IO (Either Error (Vector Gist))
- gists' :: Maybe GithubAuth -> Name GithubOwner -> IO (Either Error (Vector Gist))
- gistsR :: Name GithubOwner -> Maybe Count -> GithubRequest k (Vector Gist)
- gist :: Name Gist -> IO (Either Error Gist)
- gist' :: Maybe GithubAuth -> Name Gist -> IO (Either Error Gist)
- gistR :: Name Gist -> GithubRequest k Gist
- module Github.Data
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"
gistsR :: Name GithubOwner -> Maybe Count -> GithubRequest k (Vector Gist) Source
List gists. See https://developer.github.com/v3/gists/#list-gists
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"
gistR :: Name Gist -> GithubRequest k Gist Source
Get a single gist. See https://developer.github.com/v3/gists/#get-a-single-gist
module Github.Data