# Super Productivity Webdav API
This is a Python package that allows you to interact with a WebDAV server to manage tasks for [Super Productivity](https://super-productivity.com/).
## 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 webdav_task_manager.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.json` lives. 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`
Raw data
{
"_id": null,
"home_page": null,
"name": "super-productivity-webdav-api",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "webdav, task management, super-productivity",
"author": null,
"author_email": "Arnoud van Heuvelen <avanheuvelen@pm.me>",
"download_url": "https://files.pythonhosted.org/packages/2c/b1/03abc3b4fc91f493b5a0b2bc3426554773a2fa04c1c12aea9eda95312a14/super_productivity_webdav_api-0.1.0.tar.gz",
"platform": null,
"description": "# Super Productivity Webdav API\nThis is a Python package that allows you to interact with a WebDAV server to manage tasks for [Super Productivity](https://super-productivity.com/).\n\n## Features\n- Currently only supports adding tasks.\n- Handle ETag changes to avoid conflicts.\n- Uses Basic Auth to authenticate to the webdav server.\n\n## Installation\nInstall using pip:\n```\npip install super-productivity-webdav-api\n```\n\n## Requirements\n- A WebDAV server to which Super Productivity is syncing\n\n## Usage:\n\n```\nfrom webdav_task_manager.client import Client\n\n# Initialize the client\nclient = Client(\n url=\"https://your-webdav-server.com\",\n username=\"your-username\",\n password=\"your-password\",\n remote_path=\"/super-productivity/\"\n)\n\n# Add a task\nclient.add_task(\"My New Task\")\n```\n\n- By default the tasks are added to your Inbox (with projectId \"INBOX\").\n- Remote path is the folder in which your `MAIN.json` lives. Do not include the filename.\n\nAdding 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`\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A python API for managing Super Productivity tasks through webdav.",
"version": "0.1.0",
"project_urls": {
"homepage": "https://github.com/avanheuvelen/super-productivity-webdav-api",
"issues": "https://github.com/avanheuvelen/super-productivity-webdav-api/issues",
"repository": "https://github.com/avanheuvelen/super-productivity-webdav-api"
},
"split_keywords": [
"webdav",
" task management",
" super-productivity"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5242125226d83201c5ca9776dfe3130defe8a5c199d768e8bd0972a542925aa3",
"md5": "c67f6c760315714900e4cb2f70a17863",
"sha256": "ab64f08e3f51b7e82c2cbcbd1a6eda9cd26ff68e4170e4fa6259606c7aa68dbc"
},
"downloads": -1,
"filename": "super_productivity_webdav_api-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c67f6c760315714900e4cb2f70a17863",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5246,
"upload_time": "2024-12-09T15:23:45",
"upload_time_iso_8601": "2024-12-09T15:23:45.199040Z",
"url": "https://files.pythonhosted.org/packages/52/42/125226d83201c5ca9776dfe3130defe8a5c199d768e8bd0972a542925aa3/super_productivity_webdav_api-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2cb103abc3b4fc91f493b5a0b2bc3426554773a2fa04c1c12aea9eda95312a14",
"md5": "0adaea7bd78aec94d7806b900102fb63",
"sha256": "64305d93441a6d2ba0050cfdb112da823f7267fdb04440048df901f745990f5b"
},
"downloads": -1,
"filename": "super_productivity_webdav_api-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "0adaea7bd78aec94d7806b900102fb63",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4477,
"upload_time": "2024-12-09T15:23:47",
"upload_time_iso_8601": "2024-12-09T15:23:47.442021Z",
"url": "https://files.pythonhosted.org/packages/2c/b1/03abc3b4fc91f493b5a0b2bc3426554773a2fa04c1c12aea9eda95312a14/super_productivity_webdav_api-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-09 15:23:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "avanheuvelen",
"github_project": "super-productivity-webdav-api",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "super-productivity-webdav-api"
}