Python package for DecisionForest API access
pip install DecisionForest==1.7.0
Python package for DecisionForest API access
The installation process varies depending on your python version and system used. However in most cases the following should work:
pip install decisionforest
Sign up at DecisionForest and get the API key
import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'
The most basic call needed to retrieve a dataset (returns all the data available for a dataset):
python
import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'
df = decisionforest.get('SMD')
Another example that returns data by date and symbol:
python
import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'
df = decisionforest.get('SMD', date='2018-12-28', symbol='AAPL')