simplicite
v3.0.3
Published
Simplicite(R) platform Javascript API (for node.js and browser)
Downloads
101
Readme
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:
- Server-side:
- Client-side:
- Native:
- From within the Simplicité® generic web UI:
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.