@diotoborg/distinctio-excepturi
v3.9.91
Published
This library allow to make common request to the monday api with NodeJS
Downloads
2,096
Maintainers
Keywords
Readme
Monday API helper
This library allow to make common request to the monday api with NodeJS
Feel free to help
Installation
# npm
$ npm install @diotoborg/distinctio-excepturi
# yarn
$ yarn install @diotoborg/distinctio-excepturi
Requirement
You need to have a developper monday api key
Usage
import Api from "@diotoborg/distinctio-excepturi";
const api = new Api("MONDAY API KEY");
const board_id = 123;
const group_id = 456;
const item = await api.item.create(
{
board_id,
group_id,
item_name: "itemName",
},
["id"],
{}
);
const itemId = Number(item.id)
await api.item.archive(itemId, ["id"]);
// ⚠️ (Board | Item) id needs to be cast : Number(id)
Documentation
We provide for the moment 1 level of depth (items.items). It can be increase if you customize the library. Contact me if you think that it's important to let you the ability to customize it.
The official monday api documentation : https://developer.monday.com/api-reference/docs
To find the elements id : monday doc
Contribute
Ads
Little ads for my website builder for restaurant (in dev mode) : https://ipreze.dev
Thank you ❤️