Developed by @LeonardoCardoso.
Sometimes you work only with private repos in GitHub but your public profile is so empty. To solve that issue we've created this.
It's PHPs based project shares the information of all contributions (private and public) as you seen when you are logged in your GitHub profile.
All times are calculated in GMT
This API only shows the info, not the data.
Create a file in the folder statics named credentials.php and add the following:
<?php
$clientID = YOUR CLIENT ID;
$clientSecret = YOUR CLIENT SECRET;
$callbackURL = CALLBACK URL YOU REGISTERED YOUR APPLICATION ON GITHUB;
Make sure the library php5-curl and php5-gd are installed and enabled on the server, either locally or remotely.
- Linux
$ sudo apt-get install php5-gd php5-curl
$ sudo service apache2 restart
- Mac (via macports)
$ sudo port install php5-curl php5-gd
$ sudo apachectl restart
From Github docs:
Whenever you commit to a project's default branch (or the gh-pages branch), open an issue, or propose a Pull Request, we count that as a contribution. But here we added the contribution in other branches.
- default branch ✓
- other branches
- gists
- gh-pages branch
- open an issue ✓
- pull request ✓
- From Github docs, we have 5,000 requests per hour
- The original GitHub contributions calendar shows a commit even if it's squashed via git rebase. And currently this kind of history is not available on their current API.
To install dependencies via Composer, do the following:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install
Contact me either by Twitter @leocardz or emailing me to contact@leocardz.com.
Copyright 2015 Leonardo Cardoso
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.