2017 © Pedro Peláez
 

library api-client

A PHP Client for the Petdiscount API

image

petdiscount/api-client

A PHP Client for the Petdiscount API

  • Sunday, February 19, 2017
  • by petdiscount
  • Repository
  • 1 Watchers
  • 1 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 28 % Grown

The README.md

Petdiscount PHP API Client

This project is a PHP Library to use the Petdiscount API from your PHP application., (*1)

Information about our API can be found on api.petdiscount.nl, (*2)

Installation

This project can easily be installed through Composer., (*3)

composer require petdiscount/api-client

Example: Get orders

<?php

require __DIR__ . '/vendor/autoload.php';

$email = 'info@domeinnaam.com';
$apikey = 'jCcvAfVW6UZqt6s';

$apiclient = new Petdiscount\Api\Client($email, $apikey);

$products = $apiclient->getProducts();
var_dump($products);

More examples

Review the examples in the examples/ folder., (*4)

Support

Need support implementing the Petdiscount API? Feel free to contact us, (*5)

The Versions

19/02 2017

dev-master

9999999-dev http://github.com/petdiscount/petdiscount-php

A PHP Client for the Petdiscount API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

by Ruthger Idema

api php petdiscount