From 4a80681ab440c427d326b278fe6e7bc439335068 Mon Sep 17 00:00:00 2001 From: MichaelViljoen <92848541+MichaelViljoen@users.noreply.github.com> Date: Thu, 19 May 2022 13:49:09 +0200 Subject: [PATCH] Update SimFinAPI.py --- apps/client/backend/API-demo-call/SimFinAPI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/backend/API-demo-call/SimFinAPI.py b/apps/client/backend/API-demo-call/SimFinAPI.py index 70f32c8..168bc0c 100644 --- a/apps/client/backend/API-demo-call/SimFinAPI.py +++ b/apps/client/backend/API-demo-call/SimFinAPI.py @@ -1,6 +1,6 @@ import requests -api_key = "NBpcYHWZApdpErjTNUHBQiiWQ9RZSvcd" +api_key = "" def listallcompanies(): @@ -42,7 +42,7 @@ def listallGeneralCompanyInformation(id): def CompaniesByIndustry(value): #This function will return the symbols of the comapnies in a industry or Sector - request_url = 'https://simfin.com/api/v2/finder?api-key=NBpcYHWZApdpErjTNUHBQiiWQ9RZSvcd' + request_url = 'https://simfin.com/api/v2/finder?api-key=' + api_key # This function returns companies that are in a certain field and their last clossing price is greater that 15$ meta = {"id": 7, "value": 2022, "operator": "eq"} condition = {"operator": "start", "value": value}