This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

indexea

1.3.15 • Public • Published

indexea-js-sdk

indexea typescript sdk

Install

$ npm install indexea

Usage

import { WidgetsApi, SearchApi } from 'indexea/apis'


// initialize indexea openapi client
const config = {
  basePath: '/v1',
  headers: { accept: 'application/json' },
  accessToken: () => {
    return 'user token'
  },
  credentials: 'include',
  middleware: []
}

var searchApi = new SearchApi(config);

searchApi.searchWidgetSearch({ widget, index, 'test', {}, 0, 20 }).then(res => {
    console.log(res);
});

Update

$ ./openapi.sh full_path_of_openapi.yml
$ git add *
$ git commit -m "update version"
$ npm version patch
$ npm publish
$ git push

Readme

Keywords

Package Sidebar

Install

npm i indexea

Weekly Downloads

6

Version

1.3.15

License

MIT

Unpacked Size

658 kB

Total Files

74

Last publish

Collaborators

  • indexea