Gather data from github repos about contributions
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/scrape
vendor
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
README.md
apirates.go
commits.go
contributing.md
doc.go
prs.go
stat.go
top100.go

README.md

Scrape

GoDoc Go Report Card

Overview

Scrape is a simple CLI tool to help Gather data from github repos about contributions

Getting Started

If you have a working Go enviroment on your computer, you can download it by running:

go get -u github.com/dmmcquay/scrape

Usage

GitHub access token

Scrape requires a GitHub access token before it can be used. See Github Documentation for further information on how to get one. After you have the token, please set the env variable SCRAPE_TOKEN to the access token.

scrape apirates

Org and Repo

The following commands all require an org and Repo to be specified. An example would be for this repository where Org is dmmcquay and Repo is scrape. The format for this would be dmmcquay/scrape

scrape top100

running:

scrape top100 foo/bar

will return a list of the top 100 contributors to repository.

scrape commits

running:

scrape commits foo/bar

will return a list of all contributors and a total count of commits for specified repository.

scrape openprs

running:

scrape openprs foo/bar

will return a list of all contributors and a total count of open PRs they have for the specified repository.

scrape closedprs

running:

scrape closedprs foo/bar

will return a list of all contributors and a total count of closed PRs they have for the specified repository.