Icontem

Slim GitHub JS API: Retrieve data of Github profiles and repositories

Recommend this page to a friend!
  Info   View files Documentation   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-10-09 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 74 All time: 449 This week: 47Up
Version License JavaScript version Categories
github-api 1.0MIT/X Consortium ...1.0Web services
Description Author

This object can retrieve data of Github profiles and repositories.

It can send HTTP requests to the Github Web servers to retrieve several types of information.

Currently it can retrieve information about user profiles, repositories and gists.

Innovation Award
JavaScript Programming Innovation award nominee
October 2014
Number 2
Github is a popular software project development hosting site on which many developers host their project files in Git repositories.

This object can get information about Github users and repositories to use in a Web page by using AJAX requests.

Manuel Lemos
Name: Pierre-Henry Soria <contact>
Classes: 4 packages by
Country: United Kingdom United Kingdom
Age: 26
All time rank: 242 in United Kingdom United Kingdom
Week rank: 17 Up2 in United Kingdom United Kingdom Equal
Innovation award
Innovation award
Nominee: 3x

Details

Github jQuery API

Overview

This class allows you to retrieve basic information from your GitHub account.

Example

  • HTML Code:

    <!-- Include the jQuery library --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

    <!-- Include this Sound plugin --> <script src="http://your-site.com/static/js/Git.js"></script>

    <section role="main" class="center" id="git" data-gituser="pH-7"> <section> <header> <h2>Repositories</h2> </header> <p id="bio"></p> </section>

    <section> <header> <h2>Repositories</h2> </header> <ul id="repos" data-queryurl="?sort=updated"></ul> </section>

    <section> <header> <h2>Gists</h2> </header> <ul id="gists" data-queryurl="?sort=updated"></ul> </section> </section>

  • JS Code:

    // Retrieve information from GitHub jQuery(document).ready(function($) { Git.Git().repos().gist().bio(); });

Author

Pierre-Henry Soria

License

MIT License

  Files folder image Files  
File Role Description
Accessible without login Plain text file crossdomain.htaccess Data Auxiliary data
Accessible without login Plain text file crossdomain.php Data Auxiliary data
Accessible without login Plain text file example.link Data Documentation
Plain text file Git.js Class Class source
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:74
This week:0
All time:449
This week:47Up
User Comments (2)
This is a good and interesting class ;-)
2 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar
Excellent Services for github
2 years ago (Dilip)
70%StarStarStarStar