Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
db
 
 
doc
 
 
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

github fantasy league (Ruby)


DESCRIPTION

Compare Github users. It queries Github using the activity stream for a given username (https://api.github.com/users/{username}/events). This is the same problem presented to Aaron Patterson and Yehuda Katz for the Play by Play by PeepCode.

This code is deployed at http://githubfantasy.com.

A .NET version of this same application is available at github-fantasy-league-dotnet.

UPDATE (1/26/2015): GitHub updated their API. The Walkthrough refers to the API being at https://githib.com{username}.json. This is the old API per this blog post: (http://git.io/17AROg)[http://git.io/17AROg].

Scoring system

The score is calculated based on the following activity stream's events.

  • CommitCommentEvent - 2pts
  • IssueCommentEvent - 2pts
  • IssuesEvent - 3pts
  • WatchEvent - 1pt
  • PullRequestEvent - 5pts
  • PushEvent - 7pts
  • FollowEvent - 1pt
  • CreateEvent - 3pts

WALKTHROUGH

About

Displays a score based on your Github activity

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.