spend, spend, spend

home | browse shop | sign up now | the blog | login

 

Spendamillion.com API

If you have visited your share page (you will need to be logged in), you will know the basics, of how to get your wish list into myspace.com format, google homepages format, or how to simple share your list with others.

Your data as an XML data-feed

your datafeed you can syndicate your wishlist as a data feed, and plug it in to anything. Simply change the uname value to the persons username that you wish to syndicate. Yes, you can look at other people's lists.

http://www.spendamillion.com/rss/{uname}.xml

e.g my list is: http://www.spendamillion.com/rss/paolodit.xml

The RSS 2.0 file that this generates, has various values that you can use to your liking, the image location and more. Just view the source of the generated file and you will see that you can manipulate the data as you like. The values you can use are:

  • title
  • price
  • image
  • item_id
  • category_id
  • photo
  • link (this is only a link to that persons wishlist, not to product)



Random items from shop, feed

your datafeedYou can also get an RSS feed of 20 Random items:

http://www.spendamillion.com/rss/random.xml


building links

To build a category page link from an item in the xml:

http://www.spendamillion.com/category.php?category_id={category_id}

To build an indepth page link:

http://www.spendamillion.com/indepth.php?category_id={category_id}&item_id={item_id}

 

have fun, and let me know how you get on!

spendamillion api

spendamillion.com - © refreshcreative.com, 2006-7
Swansea web design, & web 2.0 development

spendamillion.com blog | press | about us | contact us | API |
terms & conditions