tenex / opensourcecontributors

Find all contributions for a user through the GitHub Archive
91 stars 11 forks source link

JSON API? #80

Closed s2t2 closed 8 years ago

s2t2 commented 8 years ago

Currently I can see my repositories and events on my user page. Would it be agreeable to serve this information in JSON format as well?

Repositories:

Current URL: https://githubcontributions.io/user/octocat Proposed API URL: https://githubcontributions.io/user/octocat.json

Events:

Current URL: https://githubcontributions.io/user/octocat/events/1 Proposed API URL: https://githubcontributions.io/user/octocat/events/1.json

hut8 commented 8 years ago

:+1:

Try:

s2t2 commented 8 years ago

Yes! Thanks. Sorry if I missed the info about the API. And thanks for your service.

s2t2 commented 8 years ago

@hut8 Let me know if you would like help documenting the API (in the README.md and/or at https://githubcontributions.io/api/).

I just wrote a ruby wrapper for it: https://github.com/data-creative/github-contributions-api-ruby

hut8 commented 8 years ago

@s2t2 wow that's pretty exciting! Thanks so much. A PR that adds your link and/or whatever documentation about the API would be appreciated!