Mayfield Four
Mayfield Four

Reputation: 95

get content provided by API regularly

I just look at all available API's in here.

Since there are so many API provide content which updated regularly (such as latest news), how am I supposed to get the content as soon as it's updated or new content available?

As far as I know, only Long Polling provides regular checking, is there another technique for update check?

Sorry about my poor english.

Upvotes: 0

Views: 64

Answers (1)

doublesharp
doublesharp

Reputation: 27599

The only way to get realtime updates on content is if the API provided a push notification to your server, and that will be dependent on the API that you are implementing. Most will require you to poll for new data.

Upvotes: 0

Related Questions