I want to send a json file to keen.io in their documentation they use the following command
curl "https://api.keen.io/3.0/projects/PROJECT_ID/events/EVENT_COLLECTION?api_key=WRITE_KEY" -H "Content-Type: application/json" -d @purchase1.json
I am thinking how can I use this to work with python