Answer the question
In order to leave comments, you need to log in
API usage?
Good afternoon.
Perhaps the question will seem silly to you, but still)
How can I use api from the same Yandex in a php script?
Let's say I received a response in the form of JSON or XML. How can I pass this response to a variable that I will use on the site?
The only way I can imagine is CURL.
But it seems very bulky to me. And maybe not serious.
Perhaps there is a "more correct" way to use the API?
Thank you for your attention!
Answer the question
In order to leave comments, you need to log in
Let's say I received a response in the form of JSON or XML. How can I pass this response to a variable that I will use on the site?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question