Answer the question
In order to leave comments, you need to log in
How to connect an external API to the site?
Hello! I do not know how to connect an external API and display information from it on the site. Website in HTML. I do everything myself, but I don’t know programming ...
There is a link to an external API
There is an example of a Json response
{
"data": [
{
"id": 3,
"title": "Сбербанк ао",
"tiker": "SBER",
"price": 160.5600000000,
"change": -3.56347,
"logoURL": "/img/storestocks/shop/3.png",
"lotSize": 10,
"typeId": 1,
"available": 1,
"minLots": 2,
"maxLots": 186,
"chpu": "moex-akcii/sberbank"
},
],
"error": {
"msg": "",
"code": ""
},
"status": true
}
<script src="ссылка на API"></script>
Answer the question
In order to leave comments, you need to log in
I understand that the link is connected like this:
Roman, I think there are the necessary settings, since they give this API. It is for this purpose that it is intended to display information on the online store of the Finam broker on third-party sites, for partners. Okay, I think I should leave it for now. I will study a little, when I begin to understand more, then I will do everything. Or money will appear, it is easier for a freelancer to give an order.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question