Skip to contents

Generates a list of user repositories

Usage

get_user_repos_list(
  username,
  type = "owner",
  sort = "full_name",
  direction = "desc"
)

Arguments

username

Name of the GitHub user to retrieve repos for.

type

Can be one of `"all"`, `"owner"`, or `"member"`. Default: `"owner"`.

sort

Can be one of `"created"`, `"updated"`, `"pushed"`, `"full_name"`. Default: `"full_name"`.

direction

Can be one of `"asc"` or `"desc"`. Default: `"desc"`

References

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

See also

[`get_self_repos_list`], [`get_org_repos_list`]