Récupère la liste des projets d'un groupe owner sur Github

get_proj_github(token_env, project_path, nivdeep = c("base"))

Arguments

token_env

string. nom de la variable d'environnement contenant le token github

project_path

string identifiant du repo sur github

nivdeep

string vector. c("base", "ci","gest"). niveau d'information de l'output. ajoute des requetes Api. Defaut c("base") base => colonnes (id,name,path, path_with_namespace,web_url,pathgroup...) ci => ajoute colonnes (cicd, sched) gest => ajoute colonnes (storage_size, pushed_at, contributors, topics)

Value

data.frame

Examples

# Working only if Env Var "GITBOARD_GITHUB_TOKEN" is defined
get_proj_github("GITBOARD_GITHUB_TOKEN","spyrales/shinygouv")
#>          id      name      path path_with_namespace
#> 1 511992793 shinygouv shinygouv  spyrales/shinygouv
#>                                 web_url pathgroup
#> 1 https://github.com/spyrales/shinygouv  spyrales
#>                          description default_branch visibility
#> 1 Design System de l'Etat pour Shiny           main     public
#>            updated_at
#> 1 2025-08-19 05:36:00