Suitable api to get product details from scanned barcode iphone app?

吃可爱长大的小学妹 提交于 2019-11-30 15:50:32

问题


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

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.

EDITED:

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.


回答1:


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.




回答2:


A free API is available, it's documentation can be seen here

  • http://searchupc.com/api/

For using this API, u need to make a developer account

  • http://searchupc.com/developers/


来源:https://stackoverflow.com/questions/9256700/suitable-api-to-get-product-details-from-scanned-barcode-iphone-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!