'Incorrect synthax when using Anaconda cmd prompt (to run an API)

As part of my master thesis, I am trying to use the API shared by Matthieu Nadini on OSF [link to study:https://osf.io/xnj3k/?view_only=319a53cf1bf542bbbe538aba37916537] to retrieve NFT data from OpenSea, Atomic Hub and The Graph.

As explained in the ReadME pdf, I downloaded the Install_packages.ipynb and ran it in my Jupyter Notebook (I am using Anaconda). I also downloaded the API_.py files. I then opened an Anaconda cmd prompt and I ensured that the API files were in the working directory.

When I try to run an API with the following command:

python API_TheGraph_Cryptokitties.py 2021-01-01 2021-02-01

I get an message that the syntax is incorrect. I have tried using "" or '' but it had no effect.

I then receive the following: output from Anaconda cmd prompt

Your help would be much appreciated as I do not understand why the command is not executed.

Thank you in advance! François



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source