02-02-2011 11:40 AM - edited 02-02-2011 11:45 AM
Hi,
I would like to get product information by scanning a barcode.
Scanning the barcode and getting the UPC number is not a problem. So my starting point is the number.
I have found some websites where I can type in the barcode number (UPC) and it will give me product information. I would like to have my software automatically lookup the website database and return the information to my program.
I have used a combination of these two posts and so far so good ;-)
See the example code I have attached.
The main website I am using is http://gepir.gs1.org/v31/xx/gtin.aspx?Lang=en-US
There is a another website that doesn't limit searches http://www.ean-search.org/perl/ean-search.pl?q=4015400084662
I also toyed with the idea of using Amazon or Google directly to get back information
I also tried to use SOAP by importing a webservice (http://sine.ni.com/devzone/cda/epd/p/id/3543)
So my questions are:
Thanks in advance.
Stuart
Solved! Go to Solution.
02-04-2011 04:26 AM
Hi Stuart,
Take a look at the attached file. I used datasocket to return items from the EAN website. It contains a little bit of RegEx and a bit of string parsing to pull the string out of the html
Hope this helps with part of your questions
David