Answer the question
In order to leave comments, you need to log in
How to take data from a third-party api?
There is a third-party api and I take data from it with an Ajax request. But this data is constantly changing. I have to set setTimeout every 5 seconds.
1. Will there be any complaints from the client browser because I request data so often?
2. Will there be any complaints from the service that gives me api?
Answer the question
In order to leave comments, you need to log in
1. There will be no complaints from the browser (only if not CORS)
2. See the API limits, you can’t say anything like that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question