peps_download
peps_download copied to clipboard
Parameter not recognized... and json.decoder.JSONDecodeError:
I got the error below when trying to run the program on python 3.9.0 on a windows 10 machine.
'''
curl -k -o search.json https://peps.cnes.fr/resto/api/collections/S2ST/search.json?q='Toulouse'&startDate=2017-01-01&completionDate=2017-02-01&maxRecords=500
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2353 0 2353 0 0 2353 0 --:--:-- 0:00:01 --:--:-- 1750
'startDate' is not recognized as an internal or external command,
operable program or batch file.
'completionDate' is not recognized as an internal or external command,
operable program or batch file.
'maxRecords' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "C:\Users\nguyet78\Google Drive\DB\peps_download-python3\peps_download-python3\peps_download.py", line 245, in