ember-data-github
Ember Data library for the GitHub API.
Using ember-data-github
ember install ember-data-github
In order to use OAuth endpoints you must also make sure you have a session service which contains a property named githubAccessToken
with the currently logged in user's GitHub access token (Exmple: app/services/session.js).
Examples:
this.get('store').find('githubUser', '#'); // get the current user
this.get('store').find('githubUser', 'jimmay5469'); // get a user
this.get('store').find('githubRepository', 'jimmay5469/old-hash'); // get a repository
Installation
git clone
this repositorynpm install
bower install
Running
Running Tests
ember test
ember test --server
Building
For more information on using ember-cli, visit http://www.ember-cli.com/.