Skip to content

Commit

Permalink
Increase limit per page for star counting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Oct 22, 2024
1 parent f8fc2cc commit 1c26283
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vignettes/github-statistics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ et_pkgs_stargazers <- et_pkgs |>
purrr::set_names() |>
purrr::map(function(repo) {
api_resp <- gh::gh(
"/repos/{repo}/stargazers",
repo = repo,
"/repos/{repo}/stargazers",
repo = repo,
per_page = 100,
.accept = "application/vnd.github.star+json"
)
res <- as.data.frame(cbind(
Expand Down

0 comments on commit 1c26283

Please sign in to comment.