2017 © Pedro Peláez
 

library generic-api-client

A generic API client with basic HTTP support written in PHP.

image

serbanghita/generic-api-client

A generic API client with basic HTTP support written in PHP.

  • Wednesday, November 5, 2014
  • by serbanghita
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Generic API Client

A generic API client with basic HTTP support written in PHP., (*1)

  • HTTP transport via cURL or sockets
  • Support for JSON-RPC or REST API endpoints
$options = array(
        'uri' => 'http://www.raboof.com/projects/jayrock/demo.ashx',
        'jsonrpc' => '2.0'
    );
$client = new \Client\JsonRPC($options);
$response = $client->call_add(1, 2);
var_dump($response);

Changelog

  • 1.0.0 - First beta version, supports JSON-RPC APIs and cURL transfer.

The Versions

05/11 2014

dev-master

9999999-dev https://github.com/serbanghita/Generic-API-Client

A generic API client with basic HTTP support written in PHP.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api json rest api client json rpc