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
- Install the package
pip3 install timetree-exporter
- Run
timetree-exporter <path-to-responses-folder>
- 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
- Clone the repository
git clone https://github.com/eoleedi/TimeTree-exporter.git
- Change the directory to the project folder
cd TimeTree-exporter
- Install the requirements
pip3 install -r requirements.txt
- Run
python3 -m timetree_exporter responses
- 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
- Go to https://timetreeapp.com/signin
- Open the developer tools before logging in
Can be opened by pressing F12
- Go to the network tab
Remember to Press Ctrl + R to start recording
- Turn on preserve log
- Type in "sync" in the filter box
- Log in
- Click on the calendar you want to export
- 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" - Right click on the request and select "Copy Response"
- Paste it into a json file under the response folder under this project (etc. sync.json)
The file name should end with .json
- Do the same thing for all the requests with steps 7~10
Prepare for signin: Step 1~5 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.
- Alarms(Alerts) can't be imported to Google Calendar through iCal format due to Google's bug.
Support
If you think it's helpful, kindly support me!
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
Built Distribution
File details
Details for the file timetree_exporter-0.3.1.tar.gz
.
File metadata
- Download URL: timetree_exporter-0.3.1.tar.gz
- Upload date:
- Size: 689.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1898ab225f8536eea7dfc88b8e5ab08b93eeefd6e73dce8dd4df92025c2616fc |
|
MD5 | f5326a0aec026c461bdc8a08793f022b |
|
BLAKE2b-256 | 87664ec302b2d7d3495cfb40d6a631ab8756e2f07e7698720f490f60aaecf542 |
File details
Details for the file timetree_exporter-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: timetree_exporter-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572c4d3ddcb28fa1cc117003408d592d493b5a070fcd0bf06d97cccb504e5e97 |
|
MD5 | a6cf082a5e558f4c8c9f84c23a5f5c89 |
|
BLAKE2b-256 | 2541ab303b60e13c576e89b0576d21bffa877b107792e42b8bf7c557b8305d1a |