ColdFusion Amazon Web Service ItemSearch

A few days ago I blogged on how to use the amazon web service ecommerce API to query for a list of products and get a struct of the results. I have cleaned up the code and tested it with BlueDragon and CFMX 6.1.

I call it AmazonCFC.

Right now the only function is ItemSearch. It should be pretty easy for someone to modify should they need to and it is free for anyone to use. Over time I will add other methods.

It gathers artist, title, ASIN, category (group), and detail URL based on a search string. Many filters allow you to refine your search and the number of results.

Download Here

Example Use:

view plain print about
1<cfinvoke component = "amazonWS" method = "itemSearch" returnVariable = "amazonresults"
2searchstring = "Bon Jovi"
3grouptypes="Apparel,DVD,Music,VHS,Video"
4accesskey=""
5maxpages = "5"
6merchantId = "All"
7condition = "All"
8availability = "Available"
9>

10
11<cfdump var="#amazonresults#">

For more on amazon web services check out aws.amazon.com

TweetBacks
Comments

NAVIGATION

Home
About Me

RSS


Search

Subscribe

Enter your email address to subscribe to this blog.

Recent Entries

Flash Camp Boston
New Blog Design
Pre-Conference Training at cf.Objective()
FireFox 3.6 KTML Editor Fix
I am now a part of the Adobe Community Professionals Group

Recent Comments

FireFox 3.6 KTML Editor Fix
Fred said: Found another bug in Firefox 3.6 When inserting a table you can't select the number of columns. So I... [More]

Repeating Events Question
ueghbxedu said: UaejcB <a href="http://ysyhrmkbkhco.com/&...;, [url=http://pwncz... [More]

Repeating Events Question
fadxkfyuadn said: n6qVCL <a href="http://bdiorhdtbwzb.com/&...;, [url=http://uvnao... [More]

FireFox 3.6 KTML Editor Fix
Joshua said: While changing that far will load the editor, does it show the drop down class menu correctly now? [More]

FireFox 3.6 KTML Editor Fix
Al Johnson said: HI, I am still fighting to keep my code going as there is nothing better than KTML nad I have writt... [More]

Calendar

Sun Mon Tue Wed Thu Fri Sat
 123456
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31    

Archives By Subject

blogs (31) [RSS]
books (4) [RSS]
Crazy (39) [RSS]
DIY (8) [RSS]
Flex (3) [RSS]
games (10) [RSS]
GRRR (13) [RSS]
Ideas (11) [RSS]
Local (14) [RSS]
LOLpics (2) [RSS]
money (9) [RSS]
music (3) [RSS]
Personal (27) [RSS]
Photos (8) [RSS]
Politics (8) [RSS]
Projects (22) [RSS]
Review (18) [RSS]
RPM (9) [RSS]
Spam (16) [RSS]
Technology (66) [RSS]
Testing (3) [RSS]
TV (15) [RSS]
video (32) [RSS]
Web Dev (218) [RSS]
World of Warcraft (16) [RSS]