这是关于条形码的一般问题.我已经弄清楚了如何使用Zxing API从扫描的条形码中获取条形码内容.但是我想知道如何使用这些数据来搜索产品的名称,以及在线查找其他信息,例如市场上大多数其他条形码扫描应用程序能够执行的操作.已经有用于此的API或这些应用程序在后台使用网站条形码数据库(例如www.upcdatabase.com)吗?
解决方法:
您可以使用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.