npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

estore-api

2.3.1

@kevva

npmHomeRepoSnykSocket
Downloads:6
$ npm install estore-api
DailyWeeklyMonthlyYearly

estore-api

API for estore

Install

$ npm install --save estore-api

Usage

var EstoreApi = require('estore-api');
var api = estoreApi({
	user: 'unicorn',
	password: 'foobar',
	instance: 'FooBarTestCust',
	url: 'http://api.foobar.com/cxf/api'
});

api.categoryGet('foo/bar/unicorn');
/*
	cat_id: 1,
	idx_id: 0,
	catname: 'Unicorns',
	...
 */

API

estoreApi(options)

options

username

Type: string

Username to login to the API with.

password

Type: string

Password to login to the API with.

instance

Type: string

API instance to run.

url

Type: string

URL to API instance to run.

License

MIT © Kevin Mårtensson