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

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

GitHub.Endpoints.Search

Description

The Github Search API, as described at http://developer.github.com/v3/search/.

Synopsis

Documentation

searchRepos' :: Maybe Auth -> Text -> IO (Either Error (SearchResult Repo)) Source #

Perform a repository search. With authentication.

searchRepos' (Just $ BasicAuth "github-username" "github-password') "a in%3Aname language%3Ahaskell created%3A>2013-10-01&per_page=100"

searchRepos :: Text -> IO (Either Error (SearchResult Repo)) Source #

Perform a repository search. Without authentication.

searchRepos "q=a in%3Aname language%3Ahaskell created%3A>2013-10-01&per_page=100"

searchCode' :: Maybe Auth -> Text -> IO (Either Error (SearchResult Code)) Source #

Perform a code search. With authentication.

searchCode' (Just $ BasicAuth "github-username" "github-password') "a in%3Aname language%3Ahaskell created%3A>2013-10-01&per_page=100"

searchCode :: Text -> IO (Either Error (SearchResult Code)) Source #

Perform a code search. Without authentication.

searchCode "q=addClass+in:file+language:js+repo:jquery/jquery"

searchIssues' :: Maybe Auth -> Text -> IO (Either Error (SearchResult Issue)) Source #

Perform an issue search. With authentication.

searchIssues' (Just $ BasicAuth "github-username" "github-password') "a repo%3Aphadej%2Fgithub&per_page=100"

searchIssues :: Text -> IO (Either Error (SearchResult Issue)) Source #

Perform an issue search. Without authentication.

searchIssues "q=a repo%3Aphadej%2Fgithub&per_page=100"