You are here:  » Interested in the APIs you have created

Support Forum



Interested in the APIs you have created

Submitted by hutchinsonm on Wed, 2011-01-05 22:45 in

Hi David,

I would be very interested in getting the API files you have created for Ebay, Amazon, Shopping.com, and Shopzilla and any others you might have created.

Thanks so much

Matt

Submitted by support on Thu, 2011-01-06 10:09

Hi Matt,

Keep in mind that it's not generally a good idea to load a page with too many API calls - each one takes time and that can slow down the page load time considerably. You can download the Amazon API and eBay API from the site - drop me an email regarding any others that you are particularly interested in and I'll take a look for you... (once the latest distribution is published I'll be packaging up the additional API scripts for easier access but they're not currently in a "generic" form...)

Cheers,
David.
--
PriceTapestry.com

Submitted by hutchinsonm on Thu, 2011-01-06 14:06

David,

Yes, I understand what you mean. After setting up the Amazon API and seeing how it posts on the page, I realized that is not what I am looking for.

Is there a way to incorporate Amazon or Ebay or any other type of API into the actual price comparison?

Thanks

Matt

Submitted by support on Thu, 2011-01-06 14:10

Hi Matt,

Are you working in a niche in which it would be practical for you to maintain an extra field in your database mapping product names to Amazon's "ASIN" unique product identifiers?

Cheers,
David.
--
PriceTapestry.com

Submitted by hutchinsonm on Thu, 2011-01-06 14:13

David,

No my site isn't like that, it is more of a general site.

Matt

Submitted by support on Thu, 2011-01-06 15:00

Hi Matt,

Another option would be to rely on exact product name matching, but again that's hit & miss if your site is too large to invest time in the process - but may be an option. Basically, the API scripts can be run on the product pages; and only incorporate a product if it has an identical name to one of the datafeed merchant product names on the page shown - do you think that would be viable in your situation?

Cheers,
David.
--
PriceTapestry.com

Submitted by hutchinsonm on Thu, 2011-01-06 15:05

david,

That actually would be a really good option. That way it wouldn't just throw any old product out there.

Thanks

Matt

Submitted by support on Thu, 2011-01-06 15:12

OK Matt - I'll have a go at that for you.

The best thing to do would be to implement the API script you're interested as documented for the search results page, and then email me your working script, together with products.php and I'll work out the code to merge an exact match name into your price comparison table...

Cheers,
David.
--
PriceTapestry.com

Submitted by Bigmac on Fri, 2011-01-07 11:44

Hi David,

Would you be happy to post here your amended code for products.php?

I ask as I have a similar need and it would be useful to know how to do it.

Also, can you run say the Amazon api and Ebay api on the same page? I have tried and can't get both to show on the same products or search page.

Cheers,

Hamish

Submitted by support on Fri, 2011-01-07 13:39

Hi Hamish,

I'll generalise the product page version of the API scripts and get that online for you. Regarding use of more than one API script on the same page, it's normally just case of replacing:

  require("MagicParser.php");

with:

  require_once("MagicParser.php");

...in each file - that should be all it is!

Cheers,
David.
--
PriceTapestry.com

Submitted by Bigmac on Fri, 2011-01-07 16:12

Hi David,

Thanks very much, it works a treat - easy when you know how!

Have a good weekend.

Kind regards,

Hamish