Skip to content

Commit

Permalink
update with changes to contributor api
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed May 23, 2010
1 parent 7c43053 commit 1122170
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions _posts/2010-04-23-repo.markdown
Expand Up @@ -272,24 +272,34 @@ The data comes back as an array of [login, count], sorted by the biggest contrib
$ curl http://github.com/api/v2/yaml/repos/show/mxcl/homebrew/contributors
---
contributors:
- - mxcl
- 742
- - adamv
- 552
- - "0xffea"
- 172
- - mikearthur
- 44
- - afh
- 38
- :location: London, UK
:blog: http://www.methylblue.com
:company: TweetDeck
:login: mxcl
:contributions: 742
:name: Max Howell
:email: max@methylblue.com
- :location: Issaquah, WA
:blog: http://adamv.com/
:login: adamv
:contributions: 607
:name: Adam Vandenberg
:email: flangy@gmail.com

By default, the list only shows GitHub users. You can include non-users too:

$ curl http://github.com/api/v2/yaml/repos/show/mxcl/homebrew/contributors/anon
---
contributors:
- - mxcl
- 742
- :location: London, UK
:blog: http://www.methylblue.com
:company: TweetDeck
:login: mxcl
:contributions: 742
:name: Max Howell
:email: max@methylblue.com
- :contributions: 1
:name: Bart Janssen

### Network ###

Expand Down

0 comments on commit 1122170

Please sign in to comment.