Skip to content

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

Notifications You must be signed in to change notification settings

pH-7/GitHub-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published