API Calls

wunderpy.api.calls.add_comment(title, task_id)

Add a comment to a task. I’m not sure if this works with batch

Parameters:
  • title (str) – The comment name/title.
  • task_id (str) – The ID of the task you’re commenting on.
Returns:

Request

wunderpy.api.calls.add_list(list_name)

Create a new task list.

Parameters:list_name (str) – The name of the new list.
Returns:Request
wunderpy.api.calls.add_task(title, list_id, due_date=None, starred=False)

Add a task to a list.

Parameters:
  • title (str) – The task name/title.
  • list_id (str) – id of the list to put the task in.
  • due_date (str) – Date the task will be due in ISO format
  • starred (bool) – Whether the task should be starred.
Returns:

Request

wunderpy.api.calls.complete_task(task_id, completed_at=None)

Mark a task as completed.

Parameters:
  • task_id (str) – The ID of the task you are completing.
  • completed_at (str) – The datetime it was completed at, in ISO format.
wunderpy.api.calls.delete_list(list_id)

Delete a list and all of its contents.

Parameters:list_id (str) – The id of the list to delete.
Returns:Request
wunderpy.api.calls.delete_task(task_id, deleted_at=None)

Delete a task.

Parameters:task_id (str) – The task’s id.
Returns:Request
wunderpy.api.calls.get_all_tasks()

Get every task associated with the account.

Returns:Request
wunderpy.api.calls.get_comments(task_id)

Get all comments from the specified task.

Parameters:task_id (str) – The ID of the task.
wunderpy.api.calls.get_events()

Not sure.

Returns:Request
wunderpy.api.calls.get_friends()

Get friends list.

Returns:Request
wunderpy.api.calls.get_lists()

Get all of the task lists

Returns:Request
wunderpy.api.calls.get_quota()

Get your account’s quota.

Returns:Request
wunderpy.api.calls.get_reminders()

Get a list of all reminders.

Returns:Request
wunderpy.api.calls.get_services()

Not sure.

Returns:Request
wunderpy.api.calls.get_settings()

Get account settings.

Returns:Request
wunderpy.api.calls.get_shares()

Get a list of all things shared with you, I think...

Returns:Request
wunderpy.api.calls.login(email, password)

Login request, so we can get a token.

Returns:Request
wunderpy.api.calls.me()

Request for /me, which returns user information.

Returns:Request
wunderpy.api.calls.set_note_for_task(note, task_id)

Set a task’s note field.

Parameters:
  • note (str) – The note’s contents.
  • task_id (str) – The id of the task.
Returns:

Request

wunderpy.api.calls.set_reminder_for_task(task_id, date)

Add a reminder for a task.

Parameters:
  • task_id (str) – The id of the task.
  • date (str) – The reminder date/time in ISO format.
Returns:

Request

wunderpy.api.calls.set_task_due_date(task_id, due_date, recurrence_count=1)

Set a task’s due date.

Parameters:
  • task_id (str) – The id of the task.
  • due_date (str) – The new due date in ISO format.
  • recurrence_count (int) – Not completely sure yet.
Returns:

Request

Read the Docs v: latest
Versions
latest
v0.2.0
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.