How to get data from a third party site with API?

Please tell me how to do so on my page and data from outside the site and they used my styles, and then these blocks was in order? API site.

Please tell me the algorithm implementation.
March 20th 20 at 11:50
3 answers
March 20th 20 at 11:52
Solution
Turn to API.
Get the data
in php wrapped in the template.
To apply the template styles.
March 20th 20 at 11:54
The documentation for the API which you are going to use is all there. There is no universal recipe
March 20th 20 at 11:56
All especially individually... read the documentation of this API and all...
Certainly, there is some get method that when accessed returns a list of something there....
And can be still need to log in. Authorization can also be different... for example, the jwt token... etc.

Find more questions by tags PHPJavaScriptAPIWordPress