SDK for the Wrike v4 API
You can install using Yarn or NPM.
npm install wrike-sdk
const Wrike = require("wrike-sdk");
const wrike = new Wrike({
accessToken: "YOUR_WRIKE_ACCESS_TOKEN",
});
(async () => {
const spaces = await wrike.spaces.GetSpaces();
console.log(spaces);
const spacesWithMembers = await wrike.spaces.GetSpaces({
fields: ["members"],
});
console.log(spacesWithMembers);
})();