+ 1

How does a website use another website's data for their own?

For example: YouTube live subscribers counter websites _ how do they get the data / info from YouTube so they can use it on their website? There's probably PHP involved in updating live sub count, ... I'm just wondering how they do it.

17th Nov 2019, 6:52 AM
Ginfio
Ginfio - avatar
1 Answer
+ 4
The client website is fetching data from API of data website Take for example, this is fetching HTML source code. https://code.sololearn.com/WO2Pg5Gb9T56/?ref=app For data from RESTful API, it is usually of JSON format. Stay tuned with the async series https://code.sololearn.com/WKKkpq0efxai/?ref=app
17th Nov 2019, 7:51 AM
Gordon
Gordon - avatar