Ember Data abstraction for the GitHub API.
ember install ember-data-github
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
this.get('store').queryRecord('githubRelease', { repo: 'jimmay5469/old-hash', releaseId: 1 }) // get a specific release
this.get('store').query('githubRelease', { repo: 'jimmay5469/old-hash' }) // get a repo's releases
git clone git@github.com:elwayman02/ember-data-github.gitcd ember-data-githubnpm installbower install
ember serve- Visit your app at http://localhost:4200.
npm test(Runsember try:eachto test your addon against multiple Ember versions)ember testember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.