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

Recommend this page to a friend!
  Info   Documentation   View files Files   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 77 All time: 462 This week: 3Up
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
Picture of Pierre-Henry Soria
Name: Pierre-Henry Soria <contact>
Classes: 4 packages by
Country: United Kingdom
Innovation award
Innovation award
Nominee: 3x

Documentation

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 (5)  
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:77
This week:0
All time:462
This week:3Up
User Comments (2)
This is a good and interesting class ;-)
10 years ago (José Filipe Lopes Santos)
70%StarStarStarStar
Excellent Services for github
10 years ago (Dilip)
70%StarStarStarStar