Scripts for working with monday.com API and website. The code in this repo is proof-of-concept level. It is not productionized. Use at your own risk.
git clone git@github.com:NYULibraries/monday-dot-com-scripts.git
cd monday-dot-com-scripts/
npm install
# Might need an extra step or two if Playwright has never been installed on the machine.
- Make a read-only duplicate of the monday.com board and record the board ID
- Launch an instance of Chrome with remote debugging enabled:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
- Log in to monday.com
- Run the script:
API_KEY=[REDACTED] time node get-info-boxes-for-board.mjs [BOARD ID]
- Chromium blog post: Remote debugging with Chrome Developer Tools
- monday.com: How to duplicate a board
- Playwright: connectOverCDP: "This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol."