Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python package for DecisionForest API access

Project description

DecisionForest Python CI status CI status

Python package for DecisionForest API access

Installation

The installation process varies depending on your python version and system used. However in most cases the following should work:

pip install decisionforest

Configuration

Sign up at DecisionForest and get the API key

import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'

Getting Data

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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for DecisionForest, version 1.6.0
Filename, size File type Python version Upload date Hashes
Filename, size DecisionForest-1.6.0-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size DecisionForest-1.6.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page