#FreeCodeSunday
Using the Amazon Product API with AS3 – #FreeCodeSunday
Sunday, July 11th, 2010 | #FreeCodeSunday, Actionscript 3, Affiliate Marketing | 1 Comment
This is really an update to an earlier post on how to use the Amazon Product API search and retrive products, all tied to your Amazon account. Using this information you can present information about each product, and drive traffic to the product page on Amazon. If the user then purchases the Product then you recieve a small amount of commission.
The problem with the old post was that Amazon changed their API requiring the request be signed and have a timestamp, so really the main new part is the included .php file, which you will of course need to edit to include your Amazon secret api key. To get one and see their documentation click here…
So if you can intergrate this information into a fun game or app and drive engagement through to the Product on Amazon in a way that is useful enough to your users that they then purchase the product, then you can make a few pennys. Well… maybe enough to buy lunch.
The source code goes into how to change the filter to search dvds instead of music, and there’s full API code to parse the XML for each Product into a Class instance to code against.
Credit for how to intergrate the Amazon signature methodology must go to www.ilovebonnie.net
An easy to use AS3 shape drawing class, gear, cogs, wedge, arc, star, burst
Monday, April 19th, 2010 | #FreeCodeSunday, Actionscript 3 | 8 Comments
Every other Sunday i’m going to try and release some free code. Things like projects i thought had legs, got to the prototype stage but never had time to finish, or Actionscript libraries that i think other might find useful.
In this case i’m releasing my shape drawing AS3 class. This is mainly just an Actionscript 3 implementation of the hard work done by both Kevin Williams and Ric Ewing. I’ve also used a Minimal Comps Slider as well and included the slightly amended code for that which does not require the Flex SDK (makes it easier for people not familiar with it).
Any comments, suggestions, or shapes you’d like to add just comment or send me a mail.
Enjoy, Aden.
EDIT -
Sidney de Koning has done exactly what i hoped and taken this on and made some improvements. Along with some nice speed tweaks, each method now takes in a reference to a Graphics instance instead of a Sprite class, improving the performance and making it move useful.
Nice work Sid, i’ve ammended the demo below to include his class and the associated source code. His related article…
The Flash plugin is required to view this object.
Search
Recent Posts
Categories
@AdenForshaw
- On the train back from london, sat next to a portly chap wearing double denim rocking a pungent aroma of Eu de sweaty man. #BadTimes
- Presenting new @Coull Affiliator in #Cocoon lounge bar Picadilly. Only snag is it's soft drinks only... torture!
- The old boys rockin it hard over at the #OldDuke http://twitpic.com/1mrsn2
- Strong set from #GazBrookfield over at Mr Wolfs, shame about the cider selection.
- Doing the pub quiz over at #theorchard , the questions are pretty hardcore tonight http://twitpic.com/1l1uf1