problems extracting csv from API #880
Unanswered
thnjcastro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys,
I have been extracting a CSV from a specific event via the Mixpanel API for over a year without any issues, but for some reason, the CSV only goes up to a certain date, which is June. I thought it might be due to the size of the CSV, so I changed the start date to a closer date, but the result is the same—it won't return any more information, only up to June 2023. Can anyone help me? Or know what the problem might be? I'll leave a part of the code here just in case.
Thank you very much.
def Execute(event, csv_name):
return mputils.export_events('temps/{csv_name}.csv'.format(csv_name=csv_name),{'from_date':'2023-06-22','to_date':'{end_date}'.format(end_date=date.today()),'event':'["{event}"]'.format(event=event)}, format='csv')
pd: i alredy have the data until 2023-06-22
Beta Was this translation helpful? Give feedback.
All reactions