Learn R Programming

gitlabr (version 2.0.1)

gl_list_projects: List projects information

Description

List projects information

Usage

gl_list_projects(...)

gl_get_projects(...)

gl_list_user_projects(user_id, ...)

gl_list_group_projects(group_id, ...)

gl_get_project(project, ...)

Value

tibble of each project with corresponding information

Arguments

...

passed on to gitlab()

user_id

id of the user to list project from

group_id

id of the group to list project from

project

project name or id

Details

gl_list_projects() is an alias for gl_get_projects()

Examples

Run this code
if (FALSE) {
set_gitlab_connection(
  gitlab_url = "https://gitlab.com", 
  private_token = Sys.getenv("GITLAB_COM_TOKEN")
)
# List all projects
gl_get_projects(max_page = 1)
# List users projects
gl_list_user_projects(user_id = "<>", max_page = 1)
# List group projects
gl_list_group_projects(group_id = "<>", max_page = 1)
}

Run the code above in your browser using DataLab