I am looking for Barcode API which gives the details of the products after barcode scanner returns the numerical value.
Sharing the project link
https://x.thunkable.com/copy/75f33c9de65c124c6699be3dcaf93e81
Your Input/assistance/guide would be appreciated.
Regards,
Sasi Preetha
A quick google search quickly gave this promising looking result:
https://www.barcodelookup.com/api
Haven’t checked it out or tested at all though, but seems straight forward!
Thank you. I tried that but for some reason I do not get the response getting printed.
https://api.barcodelookup.com/v2/products?barcode=barcodescannerrnumericalvalue&formatted=y&key=APIkey
Not sure whether its the correct way to retrieve information
What type of products are you hoping to scan? Toys? Groceries? Books?
Appliance like Tv, washingmachine and so on…
Silly question, but… Are you inputting your own APIkey where it’s asking you to (at the end of the url)?
…And the barcode numerical value…?
Yes.
Could you kindly assist? I’m totally new in exploring this.
Try putting this url in a browser but substitute your own API key:
https://api.barcodelookup.com/v2/products?barcode=667379967640&formatted=y&key=**APIkey **
What result do you get?
I have a tutorial for using APIs with Thunkable. You might find it useful:
Using APIs in Thunkable and understanding how to parse JSON to get certain data from the API response is both a popular and a difficult aspect of using Thunkable. It’s not so much difficult because of Thunkable but because every API url format is different, every API documentation is different, every JSON response is different, etc.
In this video, I spend a lot of time talking you through some best practices. It’s not a quick tutorial because if you rush through setting up an API in Thunkable, …
1 Like
Thank you very much.
I get result as remote control for samsung television. Attached screenshot for your reference.
Thank you for highlighting your tutorial video. Will get back if I get stuck to get data from API response
1 Like
Thank you so much Tatiang:)
It worked for me.
Here is the link Thunkable (Thought to share probably it may be helpful for others)
1 Like
It’s kind of you to share the project but because your API key is in a text block, it’s visible to anyone. You might want to change that.
Thank you Tatiang:) I have corrected it now.
Would like to know whether we have trusted online API to retreive address and phone number?
I don’t know of any but I also have not looked for that.
No problem Tatiang.
Somehow I managed to find https://www.geoapify.com/geocoding-api and Places API.
It should work for me I guess:)