![]() We would love contributions in the form of Pull requests in this repository. can be reported as Issues in this repository, and will be handled by Doist. FeedbackĪny feedback, such as bugs, questions, comments, etc. Users of the API client can then update to the new version in their pyproject.toml file. This API client is public, and available in a PyPI repository.Ī new update is automatically released by GitHub Actions, by creating a release with a tag in the format vX.Y.Z ( v.). If you decide to use TodoistAPIAsync, please keep in mind that you have to import asyncioĪnd run n(yourmethod()) to make your async methods run as expected. You can then import the library as described in Usage without having to create a file. You can try your changes via REPL by running: $ poetry run python ![]() To install pre-commit: $ poetry run pre-commit install To install Python dependencies: $ poetry install get_tasks () print ( tasks ) except Exception as error : print ( error ) Documentationįor more detailed reference documentation, have a look at the API documentation with Python examples. Everything you need to know to get your Todoist up and running in minutes. ![]() Connect Todoist with tools like IFTTT, Alexa, Google Calendar, and more. Power up with browser and email extensions. get_tasks () print ( tasks ) except Exception as error : print ( error ) # Fetch tasks synchronously def get_tasks_sync (): api = TodoistAPI ( "my token" ) try : tasks = api. Download Todoist for iPhone, Android, Mac, Windows. UsageĪn example of initializing the API client and fetching a user's tasks: from todoist_api_python.api_async import TodoistAPIAsync from todoist_api_python.api import TodoistAPI # Fetch tasks asynchronously async def get_tasks_async (): api = TodoistAPIAsync ( "YOURTOKEN" ) try : tasks = await api. Python 3.9 is fully supported and tested, and while it may work with other Python 3 versions, we do not test for them. ![]() It is best to integrate to a release tag to ensure a stable dependency: todoist-api-python = "^v2.0.0" Supported Python Versions The repository can be included as a Poetry dependency in pyproject.toml. This is the official Python API client for the Todoist REST API. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |