gh_user_repos: List user repositories

Description Usage Arguments Value

View source: R/users.R

Description

https://developer.github.com/v3/repos/#list-user-repositories

Usage

1
2
3
gh_user_repos(user, type = "owner", sort = "full_name",
  direction = ifelse(sort == "full_name", "asc", "desc"),
  api = getOption("github.api"), ...)

Arguments

user

(string) The GitHub username of the user.

type

(string, optional) Can be one of all, owner, member. Default: owner

sort

(string, optional) Can be one of created, updated, pushed, full_name. Default: full_name.

direction

(string, optional) Can be one of asc or desc. Default: when using full_name: asc, otherwise desc.

api

(string, optional) The address to GitHub's API. Default: Uses the option github.api.

...

Parameters passed to gh_page.

Value

A list where each element describes a repository (see GitHub's API documentation for more detail).


ChadGoymer/github documentation built on June 1, 2017, 5:17 p.m.