NOTE: Installation of the Quandl Python package varies depending on your system.
On most systems, the following commands will initiate installation:
pip install quandl import quandl
On some systems, you may need this command instead:
pip3 install quandl import quandl
The Quandl Python module is free but you must have a Quandl API key in order to download data. To get your own API key, you will need to create a free Quandl account and set your API key.
After importing the Quandl module, you can set your API key with the following command:
quandl.ApiConfig.api_key = "YOURAPIKEY"