This function takes as input the Github API app name, the Github API key, the corresponding secret, the organization and repo name, and uses the Github api and httr package to query the API for the issues in that repository.

get_issues(appname_, key_, secret_, repo_name, type = "issues")

Arguments

appname_

The name of the application you have authorized on Github.

key_

The key you have authorized on Github.

secret_

The secret corresponding to the key.

repo_name

The name of the repository

type

The API endpoint you are querying

Value

A json list of returned issues from Github.

Examples

if (FALSE) { # \dontrun{
get_issues(
  appname_ = "github",
  key_ = "56b637a5baffac62cad9",
  secret_ = "8e107541ae1791259e9987d544ca568633da2ebf",
  repo_name = "r-lib/httr"
)
} # }