From 5a190abbaf3a7fa7186552d22d9d9b722a1ba975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C3=A1rta?= Date: Fri, 13 Jun 2014 18:42:51 +0200 Subject: [PATCH 1/2] =?UTF-8?q?M=C5=AF=C5=BEe=20b=C3=BDt=20nep=C5=99ehledn?= =?UTF-8?q?=C3=A9=20pro=20klienty,=20vkl=C3=A1daj=C3=AD=20uveden=C3=BD=20A?= =?UTF-8?q?PI=20key=20a=20aplikace=20jim=20posl=C3=A9ze=20nefunguje?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/basic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/basic.php b/examples/basic.php index ec3f14c..7470f53 100755 --- a/examples/basic.php +++ b/examples/basic.php @@ -3,7 +3,7 @@ require_once 'HeurekaOvereno.php'; try { - $overeno = new HeurekaOvereno('9b011a7086cfc0210cccfbdb7e51aac8' /* USE your own API key */); + $overeno = new HeurekaOvereno('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' /* USE your own API key */); // SK shops should use $overeno = new HeurekaOvereno('9b011a7086cfc0210cccfbdb7e51aac8', HeurekaOvereno::LANGUAGE_SK); // set customer email - MANDATORY @@ -28,4 +28,4 @@ } catch (HeurekaOverenoException $e) { // handle errors print $e->getMessage(); -} \ No newline at end of file +} From 64b9ea979ed1a0f9074de0a51f9872da4bbd006c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C3=A1rta?= Date: Fri, 13 Jun 2014 18:45:45 +0200 Subject: [PATCH 2/2] README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0317c78..b6542e2 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,12 @@ Initialize Service using [your API key](http://sluzby.heureka.cz/sluzby/certifik ```php require_once 'heureka-overeno-php-api/src/HeurekaOvereno.php'; -$overeno = new HeurekaOvereno('9b011a7086cfc0210cccfbdb7e51aac8'); +$overeno = new HeurekaOvereno('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); ``` SK shops should initialize Heureka Overeno service with second parameter HeurekaOvereno::LANGUAGE_SK: - $overeno = new HeurekaOvereno('9b011a7086cfc0210cccfbdb7e51aac8', HeurekaOvereno::LANGUAGE_SK); + $overeno = new HeurekaOvereno('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', HeurekaOvereno::LANGUAGE_SK); Set customer email: