Skip to content

Andy-d-g/mondayapi

Repository files navigation

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 ❤️

About

Monday api helper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published