Yet another unofficial Ticktick API client, it is based on ticktick-py
Project description
tickthon
Yet another unofficial Ticktick API client, it is based on ticktick-py https://pypi.org/project/ticktick-py/
Installation
pip install tickthon
Usage
from tickthon import TicktickClient, TicktickListIds
client = TicktickClient(username,
password,
TicktickListIds(
INBOX="inbox-list-id",
TODAY_BACKLOG="today-list-id",
WEEK_BACKLOG="week-list-id",
MONTH_BACKLOG="month-list-id",
WEIGHT_MEASUREMENTS="weight-measurements-list-id"
)
)
client.get_active_tasks()
Features
- get_active_tasks()
- get_completed_tasks()
- get_deleted_tasks()
- get_abandoned_tasks()
- get_expense_logs()
- get_day_logs()
- get_task(task_id)
- get_overall_focus_time(date)
- get_active_focus_time(date, focus_tags_list)
- get_habits()
- complete_task(Task)
- create_task(Task, column_id)
- move_task_to_project(Task, project_id)
Task model
This package uses a custom attrs model to store task data, it has the following attributes:
Task:
- title: str
- status: int, default: 0 # 0: default/open, 2: done, -1: abandoned
- ticktick_id: str, default: ""
- focus_time: float, default: 0.0
- deleted: int, default: 0 # 0: not deleted, 1: deleted
- tags: List[str], default: []
- project_id: str, default: ""
- timezone: str, default: ""
- due_date: str, default: ""
- recurrent_id: Optional[str], default: ""
Environment variables
- TT_USER: Ticktick username
- TT_PASS: Ticktick password
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tickthon-0.3.2.tar.gz
(11.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tickthon-0.3.2-py3-none-any.whl
(11.5 kB
view details)
File details
Details for the file tickthon-0.3.2.tar.gz.
File metadata
- Download URL: tickthon-0.3.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a64153046cf74fa8c418cc58e39e2dd743e050c38a0f5e46aa8aaedba802958
|
|
| MD5 |
8ee4f319289232023daf9ed37508c0f3
|
|
| BLAKE2b-256 |
a733129f114835c0eb348747136d132cbcc6ecc283474690b94d8c6749a273ce
|
File details
Details for the file tickthon-0.3.2-py3-none-any.whl.
File metadata
- Download URL: tickthon-0.3.2-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dedc152e6ebd69ea6e0d7ec04a5723a6a3fda5711f837c248aa73ffe5f03f2aa
|
|
| MD5 |
5b83b82a351b3b73afe13dc561aa3cd5
|
|
| BLAKE2b-256 |
3b44226f2b7a9378668a36652cbe80658c03d8570f640d71947cfff3784f5abc
|