Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2021-08-24 (17 days ago) | | Not yet rated by the users | | Total: 75 This week: 2 | | All time: 9,788 This week: 88 |
|
Description | | Author |
This package can send requests to APIs that respond in JSON format.
It provides a class that can send HTTP requests to given API Web servers using a given data provider object of another class that will perform the actual communication with the API Web server.
Currently, the JSON API client class can send HTTP GET, POST, PUT and DELETE requests.
This class decodes the JSON responses and returns the decoded values. | |
|
|
Innovation award
Nominee: 6x |
|
Details
php-json-api-client
Simple PHP JSON Rest API Client
Install
composer require baba/json-api-client
Example
use BABA\JSON\API\Client\DataProvider\CURL;
use BABA\JSON\API\Client\JsonRestApiClient;
$client = new JsonRestApiClient(new CURL());
var_dump($client->get('http://api.example.com/test.json'));
Supports
License
GPL-2.0-only
Authors
Juraj Puchký - BABA Tumise s.r.o. <info@baba.bj>
https://www.seoihned.cz - SEO optilamizace
https://www.baba.bj - Tvorba webových stránek
https://www.webtrace.cz - Tvorba portál? a ecommerce b2b/b2c (eshop?) na zakázku
Log
1.0.0 - CURL Implemented
Copyright
© 2021 BABA Tumise s.r.o.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.