elwayman02 / ember-data-twitch

Ember-Data Abstractions for the Twitch API
http://github.jhawk.co/ember-data-twitch/
MIT License
3 stars 2 forks source link

Ember Data Twitch

This addon provides Ember-Data abstractions for the Twitch API v3.

Installation

Usage

TBA

Configuration

All requests to the Twitch API require a CLIENT_ID unique to your application. This should be set on an ember-data-twitch hash in the object exported by your app's config/environment.js:

// config/environment.js
module.exports = function(environment) {
  var ENV = {
    'ember-data-twitch': {
      CLIENT_ID: <YOUR_CLIENT_ID>
    }
  };

  return ENV;
};

How this value is retrieved and stored within your application is up to you, but for good security practice, we recommend making use of ember-cli-dotenv.

Contributing

This section outlines the details of collaborating on this Ember addon.

Installation

Twitch API Key

Register your Twitch application here. Once you have a client key, create a .env file at the root of your project and add the following:

TWITCH_CLIENT_ID=yourtwitchclientid

Running

Running Tests

Building

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