Skip to content

This program retrieves task data from TodoistAPI, saves it to a text file, and uploads the data to the BatchGeo platform, generating a map link that is then sent to a predefined email address.

Notifications You must be signed in to change notification settings

fogracvxy/automatizirani-tereni

Repository files navigation

TodoistAPI Batch Data Exporter

This program retrieves task data from TodoistAPI, saves it to a text file, and uploads the data to the BatchGeo platform, generating a map link that is then sent to a predefined email address.

Features

  • Todoist API Integration: Fetches task data using the Todoist API.
  • Data Export: Saves task details to a text file (Batchgeoinfo.txt).
  • BatchGeo Upload: Utilizes Helium automation to upload data to BatchGeo for map generation.
  • Email Notification: Sends a map link to a predefined email address.

Usage

  1. Setup: Ensure Python and required libraries (helium, todoist-python) are installed.
  2. Configuration:
    • Set up Todoist API token (api = TodoistAPI('YOUR_API_TOKEN')).
    • Adjust email and BatchGeo configurations.
  3. Execution: Run the script to export data and generate a BatchGeo map link.

Notes

  • The script requires Python and certain libraries (helium, todoist-python).
  • Ensure Todoist tasks have due dates and descriptions for accurate data extraction.
  • Email and BatchGeo configurations are hardcoded and can be modified for dynamic inputs.

Future Enhancements

  • Convert script to an executable file for easier distribution.
  • Implement user input for email address and other dynamic configurations.
  • Refactor code for improved readability and maintainability.

Note: This script is a prototype and may require adjustments based on specific use cases and environments.

About

This program retrieves task data from TodoistAPI, saves it to a text file, and uploads the data to the BatchGeo platform, generating a map link that is then sent to a predefined email address.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages