things.py
things.py copied to clipboard
A simple Python 3 library to read your Things app data.
to be able to cleanly implement https://github.com/thingsapi/things-cli/issues/9 an exact date match is needed in the api.
**To Reproduce** Steps to reproduce the behavior: E.g. `things.tasks(tag="Errand", project="3x1QqJqfvZyhtw8NSdnZqG")` **Expected behavior** Return a task that is assigned to a heading in that project and tagged with `Errand` **Additional context**...
**Goal** - As a `things.py` developer - I want others to use this library - so that it can be improved and to have some impact **Suggested approach** In order...
**To Reproduce** I was looking for all tasks completed on 2024-02-25: ``` kwargs['status'] = None kwargs['stop_date'] = f'{DATE}' tasks = things.tasks(**kwargs) ``` ...but it returns some tasks on the day...
simply added an "or today" to prevent result.sort from failing.
**To Reproduce** Steps to reproduce the behavior: see title. File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/things/api.py", line 526, in today result.sort(key=lambda task: (task["today_index"], task["start_date"])) TypeError: '
Fix for #117, by adding "localtime" to the `stop_date` where clause.
@AlexanderWillner said this issue I first reported in https://github.com/thingsapi/things-cli/issues/11 would be [better discussed here](https://github.com/thingsapi/things-cli/issues/11#issuecomment-1557913953), so here it it: --- **To Reproduce** Steps to reproduce the behavior: ``` things-cli anytime ```...
As of fixing all issues in #110, we're ready for a new release. I propose we push to PyPI immediately (since its breaking already), and then invite various people to...