So I am creating a react app in which one of the functionalities is to show and present the stock data of a few selected stocks(which I will be giving as an input) , for that I created a flask api in python (I know public api’s are available but I would like to do the task myself) . Since I am new to flask , was just wondering
What will be a efficient way to fetch data from a site (I have one in mind) which can get me the data and then I will push it to my api .
I have some knowledge on python html parse and selenium would these be good ?
for reference my api looks like this:
{
'MTAR':{
"Name":"MTAR Technologies",
"Sector":"Machinery and Aerospace",
"Current_price":1932.15
},
'FORT':{
"Name": "Fortis Healthcare",
"Sector": "Health and equipment",
"Current_price": 466.65
}
}
All sorts of suggestions are welcome.