PHP Client for the Petdiscount API
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
README.md
composer.json

README.md

Petdiscount PHP API Client

This project is a PHP Library to use the Petdiscount API from your PHP application.

Information about our API can be found on api.petdiscount.nl

Installation

This project can easily be installed through Composer.

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.

Support

Need support implementing the Petdiscount API? Feel free to contact us