This folder provides a generic python script to send payload to IP Copilot's Ingestion Endpoint.
Please see the top level README's section for more details
Simple 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>
Run command:
python simple_ingestion.py
Run with optional parameters:
python simple_ingestion.py \
--ipcopilot-ingestion-endpoint "<IPCOPILOT_INGESTION_ENDPOINT>" \
--ipcopilot-org-api-key "<IPCOPILOT_ORG_API_KEY>"