Answer the question
In order to leave comments, you need to log in
How to get data from a third-party site with an API?
Please tell me how to make data from a third-party site appear on my page and my styles are applied to them, and then these blocks go in order? Site APIs are available.
Please tell me the implementation algorithm.
Answer the question
In order to leave comments, you need to log in
Contact api.
You receive data,
in php you wrap it in a template.
Apply styles to the template.
Everything is in the documentation for the API you are going to use. There is no universal recipe
Everything is purely individual ... read the documentation of this API and that's all ...
Surely, there is some kind of get method that, when called, returns a list of something there ....
And you may also need to log in. Authorization can also be different... for example, jwt token... etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question