This folder provides examples of pulling data from Coda, preparing it for ingestion, and sending it to the IP Copilot Ingestion API.
Coda example requires:
- Python (>= 3.10)
- Install requirements
pip install requirements.txt- (optional) Create your
.envfile
# IP Copilot API Config
IPCOPILOT_INGESTION_ENDPOINT = <IPCOPILOT_INGESTION_ENDPOINT>
IPCOPILOT_ORG_API_KEY = <IPCOPILOT_ORG_API_KEY>
# Coda Config
CODA_API_TOKEN = <CODA_API_TOKEN>
Run command:
python coda_ingestion.py
Run with optional parameters:
python coda_ingestion.py \
--ipcopilot-ingestion-endpoint "<IPCOPILOT_INGESTION_ENDPOINT>" \
--ipcopilot-org-api-key "<IPCOPILOT_ORG_API_KEY>" \
--coda-api-token "<CODA_API_TOKEN>"