php-extended/php-api-com-duckduckgo-spice-object

An implementation of the php-extended/php-api-com-duckduckgo-spice-interface library

Installs: 7 749

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

pkg:composer/php-extended/php-api-com-duckduckgo-spice-object


README

An implementation of the php-extended/php-api-com-duckduckgo-spice-interface library.

coverage build status

Installation

The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.

  • Download composer.phar from their website.
  • Then run the following command to install this library as dependency :
  • php composer.phar php-extended/php-api-com-duckduckgo-spice-object ^8

Basic Usage

This library may be used the following way :


use PhpExtended\Duckduckgo\DuckduckgoComSpiceApiEndpoint;

/* @var $client         \Psr\Http\Client\ClientInterface */

$endpoint = new DuckduckgoComSpiceApiEndpoint($client);

$rates = $endpoint->getRateInformation('EUR', 'USD');	// returns DuckduckgoComSpiceApiResponse

License

MIT (See license file).