get_file: Get contents of a file

View source: R/get_file.R

get_fileR Documentation

Get contents of a file

Description

Get contents of a file

Usage

get_file(owner, repo, branch, path)

Arguments

owner

owner of the repo, string

repo

repo name, string

branch

master by default

path

path to the file

Details

https://platform.github.community/t/query-repo-contents-with-graphql-api/1896

Value

nothing interesting yet

Examples

library("magrittr")
pof <- get_file(owner = "ropensci", repo = "roregistry",
         branch = "master", path = "registry.json") %>%
         jsonlite::toJSON()

maelle/ghrecipes documentation built on May 20, 2022, 5:18 a.m.