changeset 1:d70fd5290b07

shared constants
author Charlie Root
date Wed, 16 Jan 2019 14:38:31 -0500
parents 8e907c11207a
children eec825432669
files web.php
diffstat 1 files changed, 55 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web.php	Wed Jan 16 14:38:31 2019 -0500
@@ -0,0 +1,55 @@
+<?php
+// Constants required for Amazon API requests
+
+$Aassociates_id=
+  array(
+	'uk' => 'bookwhack-21',
+	'us' => 'your02b-20',
+	'ca' => 'book009-20',
+	'de' => 'book04c-21',
+	'fr' => 'book07f-21',
+	);
+
+$Aserver=
+  array(
+	'ca' =>
+	array(
+	      'ext' => 'ca'                      ,  //Canadian normal server
+	      'nor' => 'http://www.amazon.ca'    ,  //Canadian normal server
+	      'xml' => 'http://xml.amazon.com'   ,  //Canadian xml server
+	      ),
+	'de' =>
+	array(
+	      'ext' => 'de'                      ,  //German normal server
+	      'nor' => 'http://www.amazon.de'    ,  //German normal server
+	      'xml' => 'http://xml-eu.amazon.com',  //German xml server
+	      ),
+	'fr' =>
+	array(
+	      'ext' => 'fr'                      ,  //French normal server
+	      'nor' => 'http://www.amazon.fr'    ,  //French normal server
+	      'xml' => 'http://xml-eu.amazon.com',  //French xml server
+	      ),
+	'jp' =>
+	array(
+	      'ext' => 'jp'                      ,  //Japanese normal server, not co.jp!
+	      'nor' => 'http://www.amazon.co.jp' ,  //Japanese normal server
+	      'xml' => 'http://xml.amazon.com'   ,  //Japanese xml server
+	      ),
+	'uk' =>
+	array(
+	      'ext' => 'co.uk'                   ,  //UK normal server
+	      'nor' => 'http://www.amazon.co.uk' ,  //UK normal server
+	      'xml' => 'http://xml-eu.amazon.com',  //UK xml server
+	      ),
+	'us' =>
+	array(
+	      'ext' => 'com'                     ,  //USA normal server
+	      'nor' => 'http://www.amazon.com'   ,  //USA normal server
+	      'xml' => 'http://xml.amazon.com'   ,  //USA xml server
+	      ),
+	);
+$public_key ="AKIAIHTNWC7L6LOUY4LQ";
+$private_key="zWQlIzndJDtXNfxEXH7K7YR7hzv3u77lOcqfqPde";
+
+?>
\ No newline at end of file