simplicite
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

Simplicité Software


Author License

Simplicité® node.js® & browser JavaScript API

Introduction

This is the node.js® & browser JavaScript API client module for the Simplicité® platform.

Usage

Basic usage is something like:

import simplicite from 'simplicite';

const app = simplicite.session({ url: '<my instance base URL>' });

try {
	const user = await app.login({ username: '<my username>', password: '<my password>' });
	console.log('Hello ' + user.login + '!');
	const obj = app.getBusinessObject('MyObject');
	const list = await obj.search();
	// Do something with the search results list
	// Etc.
}).catch(err => {
	console.error(err.message);
});

Check the GitHub repository test/test*.js files for other examples of basic usage.

Documentation

Read the JSDoc documentation.

Demos

For more advanced usage demos, check these repositories:

See the documentation for details.

License

Copyright 2014-2024 Simplicité Software

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package Sidebar

Install

npm i simplicite

Weekly Downloads

237

Version

3.0.1

License

Apache-2.0

Unpacked Size

3.65 MB

Total Files

79

Last publish

Collaborators

  • dazoulay
  • dazoulay-simplicite