A python API for managing Super Productivity tasks through webdav.
Project description
Super Productivity Webdav API
This is a Python package that allows you to interact with a WebDAV server to manage tasks for Super Productivity.
Features
- Currently only supports adding tasks.
- Handle ETag changes to avoid conflicts.
- Uses Basic Auth to authenticate to the webdav server.
Installation
Install using pip:
pip install super-productivity-webdav-api
Requirements
- A WebDAV server to which Super Productivity is syncing
Usage:
from super_productivity_webdav_api.client import Client
# Initialize the client
client = Client(
url="https://your-webdav-server.com",
username="your-username",
password="your-password",
remote_path="/super-productivity/"
)
# Add a task
client.add_task("My New Task")
- By default the tasks are added to your Inbox (with projectId "INBOX").
- Remote path is the folder in which your
MAIN.jsonlives. Do not include the filename.
Adding tasks to another project should be possible, you will have to find the projectId in the JSON file and add it as an arg to add_task
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
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
File details
Details for the file super_productivity_webdav_api-0.1.1.tar.gz.
File metadata
- Download URL: super_productivity_webdav_api-0.1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62dda6918c66a5b2645073277d44ec6411bab3dc40e0756fa07a19fdd07aeb7a
|
|
| MD5 |
5d832e03d085f494e83030f9603a4b8e
|
|
| BLAKE2b-256 |
9ae80b2de81dd4ed8b9c34ebf9b2527f40062180019d9b39370cc56f4229f34a
|
File details
Details for the file super_productivity_webdav_api-0.1.1-py3-none-any.whl.
File metadata
- Download URL: super_productivity_webdav_api-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d60d7277d5b95ddd48ccfc2b7ea203e83b1cc013602d9eda28f7f6569584b774
|
|
| MD5 |
d657af7dcd969c304f09f6dd891d2b9d
|
|
| BLAKE2b-256 |
3873510f61c9726dedfa75a1f99eed1f38410e007065348018fb977f7ad077cb
|