Skip to main content

Update: I just want to clarify that I do not activley maintain this code and am not associated with Clickup. Things may change over time but this should cover all the main endpoints. Feel free to clone and change this code in any way, shape or form.

Documentation Status CodeFactor Build Status Coverage Status Code style:black

clickupython

A client for working with the ClickUp API V2. It can be used to interact with the ClickUp API in your projects.

Documentation (WIP) and examples can be found here: clickupython documentation

Instructions

1) Installing

pip install clickupython

2) Library Usage

Using clickupython in your application takes just a couple quick steps.

To use the client for a personal account context (no actions on behalf of another user)

from clickupython import client

API_KEY = 'YOUR API KEY'

c = client.ClickUpClient(API_KEY)

# Example request

c = client.ClickUpClient(API_KEY)
t = c.create_task("list_id", name="Test task", due_date="march 2 2021")

print(t.name)

For more examples, please refer to the Documentation

Current ClickUpClient Functions

Task

  • get_task(task_id)
  • get_tasks(list_id, archived, page, order_by, reverse, subtasks, statuses, include_closed, assignees, due_date_gt, due_date_lt, date_created_gt, date_created_lt, date_updated_gt, date_updated_lt)
  • create_task(list_id, name, description, priority, assignees, tags, status, due_date, start_date, notify_all)
  • update_task(task_id, name, description, status, priority, time_estimate, archived, add_assignees,remove_assignees

List

  • get_list(list_id)
  • get_lists(folder_id)
  • create_list(folder_id, name, content, due_date, priority, status)
  • create_folderless_list(space_id, name, content, due_date, priority, assignee, status)
  • update_list(list_id, name, content, due_date, due_date_time, priority, assignee, unset_status)
  • delete_list(list_id)
  • add_task_to_list(task_id, list_id)
  • remove_task_from_list(task_id, list_id)

Folder

  • get_folder(folder_id)
  • get_folders(space_id)
  • create_folder(space_id, name)
  • update_folder(folder_id, name)
  • delete_folder(folder_id)

Attachments

upload_attachment(task_id, file_path)

Comments

  • get_task_comments(task_id)
  • get_list_comments(list_id)
  • get_chat_comments(view_id)
  • update_comment(comment_id)
  • delete_comment(comment_id)
  • create_task_comment(task_id)

Teams

  • get_teams()

Checklists

  • create_checklist(task_id, name)
  • create_checklist_item(checklist_id, name, assignee)
  • delete_checklist_item(checklist_id, checklist_item_id)
  • update_checklist_item(checklist_id, checklist_item_id, name, resolved, parent)

Goals

  • create_goal(team_id, name, due_date, description, multiple_owners, owners, color)
  • update_goal(goal_id, name, due_date, description, rem_owners, add_owners, color)
  • delete_goal(goal_id)
  • get_goal(goal_id)
  • get_goals(team_id, include_completed)

Members

  • get_task_members(task_id)
  • get_list_members(list_id)

Tags

  • get_space_tags(space_id)
  • create_space_tag(space_id, name)
  • update_tag(space_id, name, new_name)
  • tag_task(task_id, tag_name)
  • untag_task(task_id, tag_name)

Spaces

  • create_space(team_id, name, features)
  • delete_space(space_id)
  • get_space(space_id)
  • get_spaces( team_id, archived)

Time Tracking

  • get_time_entries_in_range(team_id, start_date, end_date, assignees)
  • get_single_time_entry(team_id, timer_id)
  • start_timer(team_id, timer_id)
  • stop_timer(team_id)

Contact

Zach Johnson & Robert Mullis

Email: imzachjohnson@gmail.com, phoenix.scooter@gmail.com

Acknowledgements

License

Distributed under the GNU General Public License v3.0. See LICENSE for more information.

Metadata

Release files for clickup-api-client 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clickup-api-client 1.0.5
File Size Uploaded
clickup_api_client-1.0.5.tar.gz 22.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for clickup-api-client 1.0.5
File Interpreter ABI Platform
clickup_api_client-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 45.8 kB

Release files / clickup_api_client-1.0.5.tar.gz

Download URL clickup_api_client-1.0.5.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3505b893586b5f33d93b805e37dd47d7008ef94752dcb9690aa337caa70dadb4
BLAKE2b-256 checksum
How to use checksums
4e1abdf4468b6e3e5d1e447a69d33e09e465f0cef8f1205cf739dc0cb3593d42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / clickup_api_client-1.0.5-py3-none-any.whl

Download URL clickup_api_client-1.0.5-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1da85d58fa59a35831f844b9310e8d725047a31d88d238e04928495708367e51
BLAKE2b-256 checksum
How to use checksums
37a338d6eb9656972b26be11d600fd041de303b1595c665f0a6c03e022ba3eb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page