-3

I want to get product info by using barcode and want to query it in https://www.factual.com. How can I use factual API for Android and how I configure it ?

halfer
  • 19,824
  • 17
  • 99
  • 186

5 Answers5

0

Start from factual's developer website .

HappyCactus
  • 1,935
  • 16
  • 24
0

You can follow up the get start in the documentation,

Here is the link: http://developer.factual.com/get-started/

Do it step by step, and on the step 4, you will get some example you need to try it out.

bjiang
  • 6,068
  • 2
  • 22
  • 35
  • Yes i read it but i am facing difficulty at second step [Download and install a Factual API driver for the language you want to use. We have the following drivers available*: Android]. I want to install it for android but dnt know how i do it. – Kamran Ullah Nov 13 '14 at 18:26
0

Go This page and download the relevant example

http://developer.factual.com/examples/

and start exploring.

Piyush
  • 1,973
  • 1
  • 19
  • 30
0

You have to use http call to query the factual.com tables. Here are some http examples you have to call on your code: (after you have your api key)

http://api.v3.factual.com/t/products-cpg?q=shampoo

http://api.v3.factual.com/t/products-cpg?q=shampoo&filters={"brand":"pantene"}

http://api.v3.factual.com/t/products-cpg?filters={"upc":"052000131512"}

You can look on this page for more examples:

http://developer.factual.com/working-with-factual-products/

I think you are looking for this table field: upc_e = The UPC-E barcode used for identifying products. 8-digits in length.

The product table schema is here:

http://www.factual.com/data/t/products-cpg/schema

Yaron Ronen
  • 449
  • 4
  • 4
  • I need help in [Download and install a Factual API driver for the language you want to use. We have the following drivers available*: Android]. How to install it for Android ? How i do this step? – Kamran Ullah Nov 14 '14 at 03:58
0

I solved my issue by placing php driver of factual in root directory of WAMP server.Instead of android, i use php driver. Now i am sending barcode form android device to WAMP (server) PHP driver.