Z
Z
Zubastik_12018-02-13 13:42:13
JavaScript
Zubastik_1, 2018-02-13 13:42:13

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 answer(s)
V
Vladlen Hellsite, 2018-02-13
@Zubastik_1

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 question

Ask a Question

731 491 924 answers to any question