Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 979 Bytes

File metadata and controls

39 lines (30 loc) · 979 Bytes

Python Neaktor API wrapper

Python lib to interact with Neaktor

Neaktor docs:

Installation

pip install python-neaktor-api

Usage

from neaktor import NeaktorApiClient, User, Task, TaskModel, Comment

my_public_key = 'test'
api = NeaktorApiClient(public_key=my_public_key)

my_tasks: List[Task] = api.get_tasks()
my_users: List[User] = api.get_users(user_ids={1, 2})
my_task_models: List[TaskModel] = api.get_task_models()
new_task: Task = api.add_task(model_id='my_model_id', fields={'subject': 'my new task'}, assignee_id=1234)
new_comment: Comment = api.add_comment(task_id='my_task_id', text='my comment')
deletion_status: dict = api.delete_task(task_id=1)

Functionality

Supports

  • public key authorization
  • getting tasks list
  • getting task models list
  • getting users list
  • adding tasks
  • adding comments to tasks
  • deleting tasks

Roadmap

  • all other api methods