开发者

How do I get a product's name online from a barcode? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

开发者_如何学Go

Closed 7 years ago.

Improve this question

This is kind of a general question about barcodes. I've figured out how to get barcode content from a scanned barcode using the Zxing API. But I want to know how I can use that data to search for a product's name and maybe other information online like what most other barcode scanning apps on the Market are able to do. Is there an API for this already or do these apps use website barcode databases (like www.upcdatabase.com) in the background?


You can use the Google Search API for Shopping.

The Search API for Shopping is intended for developers who want to programmatically query data that has been uploaded to Google via the Google Merchant Center. On Google, this data also surfaces on applications like Product Search, Web Search, Book Search, as well as Product Ads.

The Search API for Shopping targets the following use cases:

  • Developers can build applications that query product offers across merchants.
  • Merchants can use the API to query their own data by becoming a Commerce Search user.
  • Publishers in the Google Affiliate Network can use the API to access product offers from their advertisers of choice.


If you are asking if there is a way to "decode" the barcode into a product name or such, the answer is no. All these applications make use of accessing a DB

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜