Hi All
I am new to coding API, i am trying to export data from a existing chart, i try to fallow this document to do it, my goal is to export the data for everyday for further analysis.
https://developers.amplitude.com/docs/dashboard-rest-api#results-from-an-existing-chart
my question is how do i setup date range parameter in my python code in order to export data from a different date range?
thanks in advance,
mike
--------------------------------------------------------------
here is my python code
import requests
import json
#import HTTPBasicAuth
#pip install pyamplitude
api_key = "xxxxxxxxxxxxxxxxxxxxxx"
secret_key = "xxxxxxxxxxxxxxxxxxxxxxx"
response = requests.get('https://amplitude.com/api/3/chart/mk17vo2/query',
auth=(api_key, secret_key) )
print(response)
print(response.json())
--------------------------------------------------------------