mondayapi
v1.2.1
Published
Wrap the https monday API. It allows to have typed responses and provide correct parameters.
Downloads
15
Maintainers
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 mondayapi
# yarn
$ yarn install mondayapi
Requirement
You need to have a developper monday api key
Usage
import Api from "mondayapi";
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 ❤️