Clone or download the repo to run the app locally.
cd CompliantBois/web
npm install
npm start
python3 app.py
The analytics from this project are available as a standalone REST API service.
Example Request
import requests
url = 'localhost:5002/companies/get-prediction?ticker=tsla'
headers = {}
response = requests.request('GET', url, headers = headers, data = payload, allow_redirects=False, timeout=undefined, allow_redirects=false)
print(response.text)
Example Response
{
"date_calculated": "Wed, 31 Jul 2019 00:00:00 GMT",
"date_predicted": "Thu, 01 Aug 2019 00:00:00 GMT",
"prediction": "Our dynamically constructed model predicted $229.50125977538016 for tomorrow's price.",
"ticker": "tsla"
}