Load Asana tasks and projects into LlamaIndex
Asana Loader extracts data from Asana workspaces or projects into LlamaIndex Document objects using an API token.
Why it matters
Extract task and project data from Asana workspaces or projects and transform it into structured documents that can be indexed and queried within LlamaIndex for RAG applications and knowledge retrieval.
Outcomes
What it gets done
Authenticate with Asana API using personal access token
Fetch all tasks and metadata from a specified workspace
Retrieve project-specific task data by project ID
Convert Asana data into LlamaIndex Document objects for indexing
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/li-reader-readers-asana | bash Overview
Asana Loader
Asana Loader is a Python reader that loads documents from Asana. Users specify an API token to initialize the AsanaReader, then specify either a workspace_id or a project_id to load the corresponding Document objects. The loader is designed to be used as a way to load data into LlamaIndex. Use Asana Loader when you need to load data from Asana into LlamaIndex by specifying either a workspace ID or project ID.
What it does
Asana Loader is a data integration reader that loads data from Asana into LlamaIndex Document objects. It connects using an API token and retrieves data from either a workspace or a specific project, transforming Asana content into LlamaIndex Document format.
Inputs and outputs
You provide an Asana API token for authentication and specify either a workspace_id to load data from that workspace, or a project_id to load data from a single project. The loader loads the data into Document objects.
Integrations
This loader loads data from Asana and is designed to be used as a way to load data into LlamaIndex.
Installation and usage
Install the package:
pip install llama-index-readers-asana
Basic usage example:
import os
from llama_index.readers.asana import AsanaReader
reader = AsanaReader("<ASANA_TOKEN>")
### Option 1
documents = reader.load_data(workspace_id="<WORKSPACE_ID>")
### Option 2
documents = reader.load_data(project_id="<PROJECT_ID>")
Who it's for
This loader is for users who need to load data from Asana into LlamaIndex.
Source README
Asana Loader
pip install llama-index-readers-asana
This loader loads documents from Asana. The user specifies an API token to initialize the AsanaReader. They then specify a workspace_id OR a project_id to load in the corresponding Document objects.
Usage
Here's an example usage of the AsanaReader.
import os
from llama_index.readers.asana import AsanaReader
reader = AsanaReader("<ASANA_TOKEN>")
### Option 1
documents = reader.load_data(workspace_id="<WORKSPACE_ID>")
### Option 2
documents = reader.load_data(project_id="<PROJECT_ID>")
This loader is designed to be used as a way to load data into LlamaIndex.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.