Amazon API
Posted: 07 August 2008 05:57 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  369
Joined  04-25-2008

I want to get the Amazon API working where I can display a list of “currently reading…” books. 

Basically I’m using this one: http://expressionengine.com/forums/viewthread/27320 ...

...which is based off the original: http://www.soveryposh.com/x/blog/entries/ee_amazon_api_plugin ...

...which can be found here: http://expressionengine.com/downloads/details/amazon_api/

so I have an associates ID and DevToken (which is now called an Access Key) created this in my sidebar and added this code:

{exp:amazon:asin}
{define_asin}014241011X{
/define_asin}

<b><a href="{amazon_link}">{product_name}</a></b><br />

{if img_small_width 5}{if img_small_height 5}
<a href="{amazon_link}"><img src="{img_small}" alt="{title}" title="{title}" align="left"></a>
{/if}{/if}

{if amz_authors}
<b>Author:</b{amz_authors}<br />{/if}
{if amazon_price}
<b>Price:</b{amazon_price}<br />{/if}
{if release_date}
<b>Release Date:</b{release_date}<br />{/if}
{
/exp:amazon:asin} 

and ... nothing.  Nothing shows up at all, not even an error.  Any ideas?  I realize the orginial work has been abandonded by it’s owner but can anyone shed some light on this sucker? OR, better yet, anyone currently using it that can help me?

 Signature 

“Keep your friends close, but your enemies closer.”

Profile
 
 
Posted: 23 October 2008 04:43 PM   [ Ignore ]   [ # 1 ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  05-21-2007

Did you ever get this Amazon module working? I just tried it out and got the same result as you.

Profile
 
 
Posted: 23 October 2008 06:53 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  369
Joined  04-25-2008

I never did get it working. Too bad it has so many uses.  One thing that frustrates me is if this is so old that no one uses it and it is abandoned by the author, then *idea* why not remove it from the damn plugin’s list on this site??  I’ve ran into similar problems with other plugins.  Someone should really do a better job of keeping that cleaned out.

 Signature 

“Keep your friends close, but your enemies closer.”

Profile
 
 
Posted: 24 October 2008 12:52 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  05-21-2007

That’s true - I’ve also had a couple problems with plugin conflicts, so I try to use only the most basic ones, especially now that EE 2 is coming. It’s frustrating because everything else in EE just works. It would be useful if users could leave comments on plugin pages.

The trouble with this one seems to be that Amazon has changed the details of their API. If I figure something out I’ll post it here.

Profile
 
 
Posted: 24 October 2008 04:16 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  05-21-2007

Here’s an example that uses js: http://www.kokogiak.com/gedankengang/2006/05/consuming-amazons-web-api-directly.html

I’ve tested it and it works. You can easily feed the ASIN number to the script. You have to tinker with an xml file to display the data you want.

Profile
 
 
Posted: 11 November 2008 08:11 AM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  68
Joined  05-15-2004

Balls. I was just trying to get this working on my site and it also gives me nada.

I don’t want to use the iframe that Amazon gives you directly and thought this would be the way. It would seem not.

The site Colin links looks a bit confusing but I guess I might be able to figure it out and use an embed and pass it the ASIN through the embed code. Hmmm maybe that would work.

Has anyone solved this issue already before I spend my afternoon trying to figure it out?

Cheers

Profile