1.1.0 • Published 17 days ago
@ezpaarse-project/ezreeport-sdk-js v1.1.0
@ezpaarse-project/ezreeport-sdk-js
SDK used to interact with ezREEPORT API
Features
- ✅ User requests
- ✅ Follow generation of report
- ✅ Automatic parsing (dates, enums, etc.)
- ❌ Admin requests (the ones that need API key)
Install
npm i --save @ezpaarse-project/ezreeport-sdk-js
First Usage
You will need to wrap your app with the <ezr-provider>
and give some parameters :
import * as sdk from '@ezpaarse-project/ezreeport-sdk-js';
// Set URL to ezREEPORT API
sdk.setup.setURL('https://url-to-ezreeport.api/');
// Set token of current user
sdk.auth.login('mySuperSecretToken');
// You can now use sdk
// Log current user
sdk.auth.getCurrentUser()
.then(({ content }) => { console.log(content); }),
Documentation
The documentation is available at https://ezpaarse-project.github.io/ezreeport/sdk-js
You can also run npm run build:docs && npm run docs
to run it on a local server.
1.1.0
17 days ago
1.1.0-rc.1
1 month ago
1.1.0-beta.1
1 month ago
1.0.0
3 months ago
1.0.0-beta.12
3 months ago
1.0.0-beta.11
4 months ago
1.0.0-beta.10
4 months ago
1.0.0-rc.1
5 months ago
1.0.0-beta.6
9 months ago
1.0.0-beta.7
7 months ago
1.0.0-beta.8
7 months ago
1.0.0-beta.9
7 months ago
1.0.0-beta.4
10 months ago
1.0.0-beta.5
10 months ago
1.0.0-beta.3
11 months ago
1.0.0-beta.2
12 months ago
1.0.0-beta.1
1 year ago