An open API service indexing awesome lists of open source software.

https://github.com/olical/github.js

Frontend JavaScript library for interacting with the GitHub API v3
https://github.com/olical/github.js

Last synced: 8 months ago
JSON representation

Frontend JavaScript library for interacting with the GitHub API v3

Awesome Lists containing this project

README

          

# github.js

Frontend JavaScript library for interacting with the GitHub API v3.

# Dependencies

There are **no dependencies** in the front end. You must have [node.js](http://nodejs.org/), [UglifyJS](https://github.com/mishoo/UglifyJS) and [make](http://www.gnu.org/software/make/) to build the code. You can build the code by runnin `make` from your terminal.

# API support

My aim is to cover the **whole API**. This is the current status.

* full - Gists
* partial - Git data
* none - Issues
* none - Organisations
* none - Pull requests
* none - Repositories
* none - Users
* none - Events

# Testing

The tests are pretty heavy. They should be run from inside the Chrome app or similar method to allow XHR. Please create `./test/auth.js` containing your GitHub login details before running. It should look like this.

var user = 'USERNAME',
password = 'PASSWORD';

When you are all set up, just load `./test/index.html` to run the automated tests.

Testing is currently only performed in modern browsers such as Google Chrome and Firefox. Older browser support will come later.

# Licence

Creative Commons License
github.js by Oliver Caldwell is licensed under a Creative Commons Attribution 3.0 Unported License.