This is the javascript library for rapic.io operations
npm install rapicio
- login()
- getData("ProjectName", "ObjectName")
- postData("ProjectName", "ObjectName", {"yourData": "here", "someOtherField": "another"})
- updateData("ProjectName", "ObjectName", dataID, {"yourData": "newValue"})
- deleteData("ProjectName", "ObjectName", dataID)
var rapic = require('rapicio');
let rapicClient = rapic("username", "password");
await rapicClient.login() // login returns a promise, either use it in a async func or use .then()
let myData = await rapicClient.getData("ProjectName", "ObjectName") // getData returns a promise, either use it in a async func or use .then()