Skip to content

gcarre/ember-data-github

 
 

Repository files navigation

Ember Data Github

Build Status Ember Observer Score Code Climate

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

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

About

Ember Data library for the GitHub API

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 95.8%
  • HTML 4.2%