P
P
petrfedorav2018-08-10 15:16:28
API
petrfedorav, 2018-08-10 15:16:28

How to keep track of new entries on the web page and get notified when they appear?

Here is a page on the site: https://upbit.com/service_center/notice
Here is this page in JSON: https://api-manager.upbit.com/api/v1/notices?page=...
How can I monitor the appearance of new posts and receive instant notifications about it?
Maybe there is a special service for this? Notifications are needed immediately, preferably without delay at all.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Egor Davydov, 2018-08-10
@tregor

If I understand correctly and the API is not yours, then instantly and without delay in any way.
In this case, you need to use Long Polling, i.e. constantly make periodic requests through, for example, CRON and compare the result with a snapshot. Next, update if there is new data.

D
dollar, 2018-08-11
@dollar

Parse the page every second and check the data until you get banned.
There is no other way.

A
Anton Shamanov, 2018-08-10
@SilenceOfWinter

the date of the update is indicated, parse and check, the headers there are generated, incl. you can't check them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question