Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

jwright/github-fantasy-league

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published