Re: New Amazon API auth : PEAR package compliant ?

From: Date: Fri, 24 Jul 2009 02:19:22 +0000
Subject: Re: New Amazon API auth : PEAR package compliant ?
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-52458@lists.php.net to get a copy of this message
Hi, On Fri, Jul 24, 2009 at 3:40 AM, Michael Gauthier<mike@silverorange.com> wrote: > There is a new class, Services_Amazon > that you should use instead. It looks like it does support signed requests. You've got that right :) Please use Services_Amazon instead of Services_AmazonECS4. For example: // deprecated code will not be processed after August 15 require_once 'Services/AmazonECS4.php'; $amazon = new Services_AmazonECS4(YOUR_ACCESS_KEY_ID); $amazon->ItemSearch(...); // new code works fine require_once 'Services/Amazon.php'; $amazon = new Services_Amazon(YOUR_ACCESS_KEY_ID, YOUR_SECRET_ACCESS_KEY); $amazon->ItemSearch(...); // <= backward compatible with Services_AmazonECS4 Regards, -- Tatsuya Tsuruoka

« previous php.pear.dev (#52458) next »