A
A
Alexey Napechkin2020-01-21 11:07:39
PHP
Alexey Napechkin, 2020-01-21 11:07:39

Where to start when connecting the api of a third-party resource?

Hello.
There is a site on joomla, but this is not as important as it is important to learn the first steps.
Where to insert the api lines presented on the Moskvorechye website?
moskvorechie.ru/events/news/api-portal-moskvorechy...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FanatPHP, 2020-01-21
@FanatPHP

Strings to "insert" into the file_get_contents() function.
The result is "inserted" into the json_decode() function.
But the most difficult thing, of course, is to get information from the resulting array. Judging by the thousands of questions on the toaster, the most difficult thing for a user is to get data from a multidimensional array, the structure of which he can clearly see.

S
Sergey Vodakov, 2020-01-21
@WaterSmith

Embed in a GET request.
There are even examples:
5e26d9bb8cf29764917035.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question