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

Safe HaskellNone
LanguageHaskell2010

Github.Search

Description

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

Synopsis

Documentation

searchRepos' :: Maybe GithubAuth -> Text -> IO (Either Error SearchReposResult) Source

Perform a repository search. With authentication.

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

searchRepos :: Text -> IO (Either Error SearchReposResult) Source

Perform a repository search. Without authentication.

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

searchCode' :: Maybe GithubAuth -> Text -> IO (Either Error SearchCodeResult) Source

Perform a code search. With authentication.

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

searchCode :: Text -> IO (Either Error SearchCodeResult) Source

Perform a code search. Without authentication.

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

searchIssues' :: Maybe GithubAuth -> Text -> IO (Either Error SearchIssuesResult) Source

Perform an issue search. With authentication.

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

searchIssues :: Text -> IO (Either Error SearchIssuesResult) Source

Perform an issue search. Without authentication.

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