mondayapi
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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

join me on Github

Ads

Little ads for my website builder for restaurant (in dev mode) : https://ipreze.dev

Thank you ❤️

Package Sidebar

Install

npm i mondayapi

Weekly Downloads

10

Version

1.2.1

License

ISC

Unpacked Size

91 kB

Total Files

58

Last publish

Collaborators

  • andyguilm