-
Notifications
You must be signed in to change notification settings - Fork 1
/
gh_query.Rd
47 lines (42 loc) · 1013 Bytes
/
gh_query.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gh.R
\name{gh_query}
\alias{gh_query}
\alias{gh_repo_info}
\alias{gh_lang}
\alias{gh_contrib}
\alias{gh_issue}
\alias{gh_comment}
\alias{gh_commit}
\title{GitHub repository queries}
\usage{
gh_repo_info(repo)
gh_lang(repo)
gh_contrib(repo)
gh_issue(repo)
gh_comment(repo)
gh_commit(repo)
}
\arguments{
\item{repo}{Name of the repository, in the form \code{"owner/repository"}.}
}
\value{
A \code{tibble} containing the tabulated API responses, or \code{NA} if the response
was empty or unsuccessful.
}
\description{
Get the languages, contributors, issues, comments, or commits of a single
repository from the GitHub API.
}
\details{
Queries use \code{\link[=ghq]{ghq()}}, a thin wrapper for \code{\link[gh:gh]{gh::gh()}} that ensures the query
always returns a value.
}
\examples{
gh_repo_info("joeroe/era")
gh_lang("joeroe/era")
gh_contrib("joeroe/era")
gh_issue("joeroe/era")
gh_comment("joeroe/era")
gh_commit("joeroe/era")
}