llama-index readers toggl integration
Project description
Toggl reader
pip install llama-index-readers-toggl
This loader fetches time entries from Toggl workspace and project into Document
s.
Before working with Toggl's API, you need to get API token:
- Log in to Toggl
- Open profile
- Scroll down and click
-- Click to reveal --
for API token
Usage
from llama_index.readers.toggl import TogglReader
from llama_index.readers.toggl.dto import TogglOutFormat
import datetime
reader = TogglReader(api_token="{{YOUR_API_TOKEN}}")
docs = reader.load_data(
workspace_id="{{WORKSPACE_ID}}",
project_id="{{PROJECT_ID}}",
start_date=datetime.datetime.now() - datetime.timedelta(days=7),
out_format=TogglOutFormat.markdown,
)
Examples
This loader is designed to be used as a way to load data into LlamaIndex.
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for llama_index_readers_toggl-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de69fd0464fd3bdee23f71814be45a8c75b3f718bc549025126f7de4bb262c25 |
|
MD5 | b58badb6684f950ab906ad3e00718e03 |
|
BLAKE2b-256 | c8579eaa199d8c44c05d5f544594182e7d3c34ff9ce07e3442daecc6a9363d7c |
Close
Hashes for llama_index_readers_toggl-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be35a0f8f5ad637c1f1b1d874b1619a4ffa25508e6e453a36aa6eccd563d4b64 |
|
MD5 | 2fd7f9d4a2a5e86c4b14f08fd54cedac |
|
BLAKE2b-256 | af5e2c6f3a6837d5cda60c58d1d6bfeafe1729ca3571e5bdf0416412cd4cc41d |