cscheid / rgithub

R bindings for the github API
MIT License
70 stars 31 forks source link

addded fxn for hitting the contributor stats endpoint #24

Closed sckott closed 10 years ago

sckott commented 10 years ago

Just a small addition to be able to hit the contributor stats endpoint at https://developer.github.com/v3/repos/statistics/#contributors For example:

library("github")
clientid <- getOption("github_client_id")
clientsecret <- getOption("github_client_secret")
ctx <- interactive.login(client_id = clientid, client_secret = clientsecret)
get.repository.contributors.stats("rOpenSci", "taxize", ctx)
cscheid commented 10 years ago

Looks good, thanks!

sckott commented 10 years ago

thanks!