将toggl导出到webcal文件-使用sql数据库存储toggl数据以绕过api限制
toggl2webcal的Python项目详细描述
toggl2cal
我的工具将toggl导出为我从服务器提供的网络会议文件。
安装:
$ pip3 install toggl2webcal --user
自述文件
usage: toggl2webcal [-h] [-d DAYS] [--no-import] [--no-export] [-o OUT]
token database
Export toggl data to webcal file
positional arguments:
token Toggl token
database SQL alchemy database connector
optional arguments:
-h, --help show this help message and exit
-d DAYS, --days DAYS number of days to look back
--no-import Don't run import from toggl
--no-export Don't run export to webcal
-o OUT, --out OUT output path for the webcal file
示例
toggl2webcal TOGGL_TOKEN sqlite:///time.sqlite
toggl2webcal TOGGL_TOKEN postgresql://myself@localhost