monday-python
monday-python is an API wrapper for monday.com, written in Python.
This library includes notifications using webhooks.
Installing
pip install monday-python
Usage
from monday.client import Client
client = Client(api_token)
Find your API token in your monday.com profile admin settings API section.
- Get current user
user = client.get_current_user()
- List users
users = client.list_users()
- List workspaces
workspaces = client.list_workspaces()
- List boards
boards = client.list_boards(workspace_id)
- List columns
cols = client.list_columns(board_id)
Items
- List items
items = client.list_items(board_id)
- Get item
item = client.get_item(item_id)
- Get items by column values
# The item's state: all, active, archived, or deleted. The default state is active.
items = client.get_items_by_column_values(board_id, column_id, column_value, limit=50, state="active")
- Create item
# column_values is a dictionary with the following structure:
# {"column_id": "column_value", "column_id": "column_value"}
item = client.create_item(board_id, item_name: str, column_values: dict = None)
- Update item
# column_values is a dictionary with the following structure:
# {"column_id": "column_value", "column_id": "column_value"}
item = client.update_item(board_id, item_id, column_values)
Webhooks
- List webhooks
webhooks = client.list_webhooks(board_id)
- Create webhook
webhook = client.create_webhook(board_id, url, event)
To activate a webhook, the URL must return a response to a post request that monday.com will send to verify.
Read more about it here: https://developer.monday.com/api-reference/docs/webhooks
- Delete a webhook
deleted = client.delete_webhook(webhook_id)
Metadata
Release files for monday-python 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| monday_python-0.2.3.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| monday_python-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / monday_python-0.2.3.tar.gz
| Download URL | monday_python-0.2.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0fbda6ee2327c5811b04b1215149a31a89a782ac9b97abf01e172b0bbb5e65f
|
|
BLAKE2b-256 checksum How to use checksums |
37c2bbd76adfc32daecb880f9adcd1d60e619b946a1187cffff3386d95ad3b39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.10
|
Release files / monday_python-0.2.3-py3-none-any.whl
| Download URL | monday_python-0.2.3-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
155d6da369733d75eade79e7fc8cd94091c26228d0964a4ce18b6396a6bbe07b
|
|
BLAKE2b-256 checksum How to use checksums |
545efd18e83b792d87c7852374be1036777aec0c40a28b22ee7ae8f16c2cc00e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.10
|