适合api从扫描条码iphone应用程序获取产品详细信息? [英] Suitable api to get product details from scanned barcode iphone app?

查看:177
本文介绍了适合api从扫描条码iphone应用程序获取产品详细信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在开发样本条形码扫描仪应用程序。我使用ZBar API扫描产品中的条形码。它工作得非常好。现在,希望获得扫描条形码的产品。我想从api获得以下产品的详细信息,

Am developing sample barcode scanner app. I using ZBar API to scan the barcode from the product. It is working very fine. Now, looking to get the product of the scanned barcode. I want to get the below details of the product from the api,

Product Name
Product Price
Selling fees (eBay or Amazon fees)
Shipping costs
Shipping dimensions
Shipping weights

我被搜索并继续在谷歌中获得问题的确切结果。但是,现在还没有得到它。任何人都可以就此提出自己的想法吗?您能否建议使用条形码来获取Amazon API以获取产品详细信息?提前致谢。

I am searched and continuing to get the exact result for the question in google. But, not yet get it right now. Can anyone please suggest your ideas on this? Can you please suggest Amazon API to get product details by using the barcode? Thanks in advance.

已编辑:

我试过这个API来获取该产品的详细信息, http://searchupc.com/ API。它仅返回产品名称,价格,产品网址,货币,商店名称。但是,我想向用户显示上面(有问题)的详细信息。请帮我找到产品详细信息的确切API。

I have tried this API to get the details of the product, http://searchupc.com/ API. It returns only the Product name, price, product url, currency, storename. But, i want to show above (In question) details to the user. Please help me to find the exact API for the product details.

推荐答案

这在很大程度上取决于条形码中编码的数据正在扫描。如果您自己生成条形码,那么您可以为任何条形码产品生成唯一的ID。否则,没有用于条形码编码的ID的中央存储库,您需要确定正在扫描的内容(或让用户告诉您)并使用适当的API(如果存在)根据编码ID查找数据。

It depends greatly on the data that's encoded in the barcode you're scanning. If you're generating the barcodes yourself then you can generate unique ids for whatever product you're barcoding. Otherwise, there's no central repository for IDs that barcodes code for, you need to determine what is being scanned (or have the user tell you) and use an appropriate API (if it exists) to look up data based on the coded ID.

这篇关于适合api从扫描条码iphone应用程序获取产品详细信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆