I
I
Ivanko2018-05-11 09:16:08
PHP
Ivanko, 2018-05-11 09:16:08

How to work API in PHP?

It is necessary to add receiving information from the server via API via PHP, there are no ready-made classes, there is only a description of the interaction protocol - how to do this, where is it better to start, and are there any ready-made php libraries or tools to simplify interaction / debugging besides just CURL?
Or take as a basis any other ready-made class where there is authentication and an example of requests?
Thanks to.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly, 2018-05-11
@rim89

Sit down and implement your class based on the documentation ... you can send requests through curl, you can use other libraries that are on the git

A
Alexander, 2018-05-11
@Tuborg

You read the documentation, look at what to send and what to receive
through cUrl, make the necessary requests and voila, catch JSON with data.
I don’t understand what libraries you want to find for custom API..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question