0.0.2 • Published 8 years ago

business-elements-client v0.0.2

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
8 years ago

business-elements-client-js

License Build Status

A JavaScript HTTP Client for the Business Elements API.

Table of Contents


Installation

In nodejs:

$ npm install business-elements-client --save

Then (ES6):

import BusinessElementsClient from "business-elements-client";

Or (ES5):

var BusinessElementsClient = require("business-elements-client").default;

Note that this HTTP client can be transparently used server side or in a regular browser page.

Usage

A client instance is created using the BusinessElementsClient constructor, passing it the remote Business Elements server root URL:

const client = new BusinessElementsClient("https://api.business-elements.com");