Skip to main content

A Tool for Exporting TimeTree Calendar and Convert to iCal format(.ics)

Project description

TimeTree Exporter

A Tool for Exporting TimeTree Calendar and Convert to iCal format(.ics)
(The .ics file can then be imported into other calendar apps such as Google Calendar, Apple Calendar, Outlook Calendar, etc.)

Usage

First, download the timetree data manually and put it in the responses folder(see below)

Method 1: Pip

  1. Install the package pip3 install timetree-exporter
  2. Run timetree-exporter <path-to-responses-folder>
  3. A timetree.ics file will be generated in the same directory, then you can import it to your calendar app.

Method 2: Cloning the repository

  1. Clone the repository git clone https://github.com/eoleedi/TimeTree-exporter.git
  2. Change the directory to the project folder cd TimeTree-exporter
  3. Install the requirements pip3 install -r requirements.txt
  4. Run python3 -m timetree_exporter responses
  5. A timetree.ics file will be generated in the same directory, then you can import it to your calendar app.

How to download timetree data

  1. Go to https://timetreeapp.com/signin
  2. Open the developer tools before logging in

    Can be opened by pressing F12

  3. Go to the network tab

    Remember to Press Ctrl + R to start recording

  4. Turn on preserve log
  5. Type in "sync" in the filter box
  6. Log in
  7. Click on the calendar you want to export
  8. You will see couple of requests with the name "sync"

    There seems to be a maximum of 300 events in single requests.
    If you have more than 300 events, you will see multiple requests with the name "sync"

  9. Right click on the request and select "Copy Response"
  10. Paste it into a json file under the response folder under this project (etc. sync.json)

    The file name should end with .json

  11. Do the same thing for all the requests with steps 7~10

Prepare for signin: Step 1~5 Prepare for signin: Step 1~5 Copy response: Step 8~9 Copy response: Step 8~9

Advanced Usage

You can also specify the output file name by running python3 -m timetree_exporter -o <output_file_name>.ics or timetree-exporter -o <output_file_name>.ics

Recommendation

You are recommended to import the ics file into a separate calendar (take google calendar as an example) as if anything goes wrong, you can just delete the calendar and reimport it.

Requirements

icalendar==5.0.12

Limitations

Currently, TimeTree data can only be downloaded manually through a web browser.

Roadmap of the properties mapping to iCal

  • ID
  • Primary ID
  • Calendar ID
  • UUID
  • Category
  • Type
  • Author ID
  • Author Type
  • Title
  • All Day
  • Start At
  • Start Timezone
  • End At
  • End Timezone
  • Label ID
  • Location
  • Location Latitude
  • Location Longitude
  • URL
  • Note
  • Lunar
  • Attendees
  • Recurrences
  • Recurring UUID
  • Alerts
  • Parent ID
  • Link Object ID
  • Link Object ID String
  • Row Order
  • Attachment
  • Like Count
  • Files
  • Deactivated At
  • Pinned At
  • Updated At
  • Created At

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timetree-exporter-0.2.3.tar.gz (688.0 kB view details)

Uploaded Source

Built Distribution

timetree_exporter-0.2.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file timetree-exporter-0.2.3.tar.gz.

File metadata

  • Download URL: timetree-exporter-0.2.3.tar.gz
  • Upload date:
  • Size: 688.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for timetree-exporter-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f055bebe5eede7e459c6acaf0e0a3f8f3c7a5ac1f480f286657c2cedc71a232c
MD5 dfab5dc73812d8cd509778e6aa8b86a5
BLAKE2b-256 614996c1eddea01077e2d68df7f0718538c1c3861e78e2d573a1b2de9d69eaba

See more details on using hashes here.

File details

Details for the file timetree_exporter-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for timetree_exporter-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a1e8f1acfad9f66e7461eb7bbb76a7dafb35dc97ea004a08b534eae6065f9fb
MD5 1ecc31b86d395a723ec9e043d386257d
BLAKE2b-256 474912da2d61e6c080562447a9c61d0c4d91a2e5a9235bac5bedc27e963bcd75

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page