Skip to main content

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.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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

super_productivity_webdav_api-0.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file super_productivity_webdav_api-0.1.1.tar.gz.

File metadata

File hashes

Hashes for super_productivity_webdav_api-0.1.1.tar.gz
Algorithm Hash digest
SHA256 62dda6918c66a5b2645073277d44ec6411bab3dc40e0756fa07a19fdd07aeb7a
MD5 5d832e03d085f494e83030f9603a4b8e
BLAKE2b-256 9ae80b2de81dd4ed8b9c34ebf9b2527f40062180019d9b39370cc56f4229f34a

See more details on using hashes here.

File details

Details for the file super_productivity_webdav_api-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for super_productivity_webdav_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d60d7277d5b95ddd48ccfc2b7ea203e83b1cc013602d9eda28f7f6569584b774
MD5 d657af7dcd969c304f09f6dd891d2b9d
BLAKE2b-256 3873510f61c9726dedfa75a1f99eed1f38410e007065348018fb977f7ad077cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page