Ember Data Github
Ember Data abstraction for the GitHub API.
Installation
ember install ember-data-github
Usage
In order to use OAuth endpoints you must set the property named githubAccessToken
on github-session
service with the currently logged in user's GitHub access token.
Examples:
this.get('store').findRecord('githubUser', '#'); // get the current user
this.get('store').findRecord('githubUser', 'jimmay5469'); // get a user
this.get('store').findRecord('githubRepository', 'jimmay5469/old-hash'); // get a repository
this.get('store').findRecord('githubBranch, 'jimmay5469/old-hash/branches/master'); // get a branch
Contributing
Installation
git clone git@github.com:elwayman02/ember-data-github.git
cd ember-data-github
npm install
bower install
Running
Running Tests
npm test
ember test
ember test --server
Building
For more information on using ember-cli, visit http://www.ember-cli.com/.