A jQuery plugin to access GitHub API.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
jquery.github.js

README.md

GitHub jQuery plugin

A jQuery plugin to access GitHub API.

Usage

Import the script

<script src="jquery.github.js"></script>

Insert an empty div in the code

<div class="members"></div>

Run the plugin

$(function() {
  $(".members").github({organization: 'hackatron'});
});

Options

organization

Show a list of organization's members. See also http://developer.github.com/v3/orgs/members/

Type: String

Default: null

onLoad

Called just before making a request to GitHub API.

Type: Function

Default: null

onComplete

Called after a response from GitHub API.

Type: Function

Arguments: response

Default: null