ghGetPopularPath: Function get data by popular path.

Description Usage Arguments Details Value Author(s) Examples

View source: R/ghGetPopularPath.R

Description

This function get data about views and unique views from GitHub API by popular repositories path.

Usage

1
ghGetPopularPath(user = NULL, repos = NULL, token = NULL)

Arguments

user

Your GitHun login

repos

Repository alias

token

Your GitHub API token, you can get him this link - https://github.com/settings/tokens, for more ditail go this link https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization

Details

GitHub API dicumentation - https://developer.github.com/v3/

Value

Data frame with data by last 14 days:

path

URL path, character

title

title of path, character

views

count of total views, integer

uniques

count of unique views, integer

Author(s)

Alexey Seleznev

Examples

1
git_path <- ghGetPopularPath(user = "selesnow", repos = "ryandexdirect",  token = "abcde12345")

selesnow/rGitHub documentation built on Aug. 16, 2021, 3:16 a.m.