robotevents
v6.0.3
Published
Programmatically access the RobotEvents API
Downloads
1,969
Readme
RobotEvents
Module that enables you to interact with the RobotEvents API.
Basic Usage
import { Client } from "robotevents"
const client = Client({
authorization: { token: "<AUTH TOKEN>" }
});
const result = await client.programs.get(programs.V5RC);
if (result.error) {
console.log(result.response.statusText)
};
console.log(result.data);
const events = await client.events.search({ "sku[]": ["RE-VRC-23-1488"] });
console.log(events.data);
if (result.error) {
console.log(result.response.statusText)
};
console.log(result.data);