Discussions
"KeyError: 'link'" when using "get_file_list" function
21 days ago by Qian
Hi,
I was trying to download the weekly pattern data under Advan Research via bulk API with Python. I was able to download the files if I set start_date = "2018-01-01" and end_date="2018-01-01". But if I change the start_date or end_date, the get_file_list fails to run and showed error message "KeyError: 'link'".
'''
filesdf = ddp.get_file_list(apikey, pp,
start_date = '2018-01-02',
end_date = '2018-01-02',
print_info = False)
'''
Can anyone help with this issue?
Thanks!