Nik Izwan Kamel is an Entrepreneur who venture in multiple businesses in different industries including IT, Blockchain, E-Commerce, Security, Retail and F&B. A cryptocurrency enthusiast and cooking computer codes at night.
I am using python requests, trying to extracting Bursa stock from santa.io platform. As the title mentioned above, I have no idea how to use api token in retrieving the stock data.
For example, below python code shows no api token passed through the url and thus no stock data is retrieved. Hope for help. Thanks and regards.
3 comments On Santau.io – Bursa EOD API
untuk apa tu bos..sy baru nak trade bskl dgn us stock ni
Santau.io api documentation not working.
I am using python requests, trying to extracting Bursa stock from santa.io platform. As the title mentioned above, I have no idea how to use api token in retrieving the stock data.
For example, below python code shows no api token passed through the url and thus no stock data is retrieved. Hope for help. Thanks and regards.
“`
import requests
url = “https://santau.io/api/v1/histories?name=3A&start_date=2019-08-13&end_date=2020-08-15&limit=100&offset=0”
payload={}
headers = {}
response = requests.request(“GET”, url, headers=headers, data=payload)
print(response.text)
“““
I have stop maintain the project. Thanks