Looking up a UPC in the searchupc.com database using API

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
stuartbaggs
Forum Newbie
Posts: 1
Joined: Sun Jan 02, 2011 3:50 pm

Looking up a UPC in the searchupc.com database using API

Post by stuartbaggs »

Hi all

I am wanting to create a text box on a web page, of which I can enter a UPC (barcode number) and it will bring back the results of a product search, exactly the same as here: http://www.searchupc.com/default.aspx.

searchupc have an API with a function called GetProduct which takes a 12 or 13 digit UPC code and returns list of products with title, price, currency and online url for the UPC code in a CSV string format.

The function is documented here: http://www.searchupc.com/service/UPCSea ... GetProduct

I have a developer access token but have no idea where to start in creating this lookup text box as I have no knowledge of PHP of SOAP.

Is anyone able to help?

Many thanks
Stuart.
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: Looking up a UPC in the searchupc.com database using API

Post by Jade »

Google is your best friend sometimes: http://www.codewalkers.com/c/a/Miscella ... -with-PHP/
Post Reply