0.2.1 • Published 8 years ago

ec-api-client v0.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

ec-api-client

A NodeJS API client for EC's API http://api.ecenglish.com/docs/

Installation

To install the latest stable release with the command-line tool:

npm install --save ec-api-client

Usage

var EC = require('ec-api-client');

var options = {
  endpoint: 'https://api.ecenglish.com/', //optional
  version: 'v1' //optional, defaults to 'v1'
};

var ec = new EC("your_API_key", options);

List of supported methods:

* ec.request
* ec.testConnection
* ec.schools
* ec.products
* ec.offerings
* ec.availabilityDates
* ec.referenceData
* ec.offices