Skip to content

Commit

Permalink
Update SimFinAPI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelViljoen authored May 19, 2022
1 parent a724306 commit 4a80681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/client/backend/API-demo-call/SimFinAPI.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import requests

api_key = "NBpcYHWZApdpErjTNUHBQiiWQ9RZSvcd"
api_key = ""


def listallcompanies():
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 4a80681

Please sign in to comment.