Best available method for displaying data online?
Aloha,
I'm looking for the best method to scan codes from a phone and send them to some service where other people can quick view them, example google sheets.
Can you recommend a simple method for me?
Hi,
if you already have have a receiving service in place, this would be very easy: go to "Preferences" (the three dots in the upper right corner in the camera view), find the "Forwarding" section and paste the URL of your service (or web page) in "Send every Scan to URL". Below you'll find "Type of request for every scan" which lets you configure the exact type of the (background) request.
Then Binary Eye sends the scanned content to the URL you entered.
If you don't have a receiving service, you could either set up one yourself (which I would recommend if you have a server and programming skills) or use something like the Google Sheets API.
I don't have the necessary knowledge, so I'm asking here if there's anything simple method?
Well, then I wouldn't recommend Google Sheets because this involves quite a bit configuration and research. Nothing one would call simple.
Unfortunately, I'm not aware of any public service that offers a data pool, without any configuration, that can be filled from multiple devices 🤷♂️
If you had a web server, I could give you a simple script file (cgi-bin, PHP, or something like that). But of course that would require some work from your side too. So again, nothing one would call simple.
The simplest way to collect a number of scans from different people would be to share the scan history in Binary Eye from every device. To do this, enter the history screen (use the first icon in the top right corner of the camera screen) and tap on the green circle button in the bottom right corner (with the share symbol on it).
Then you would choose "CSV file with commas", for example, and share this into an E-Mail (i.e. GMail) and send it to your E-Mail address. On your computer, you would import this CSV into Google Sheets or Excel.
@markusfisch I found a way to write directly to Google Sheets using https://restful-google-form.vercel.app (found here(Google Form -> Google Sheets)
It is possible to edit json request the app is sending to the URL? We need something like this in example:
curl -X POST -H 'content-type: application/json' https://restful-google-form.vercel.app/api/forms/secret -d '
{"entry.1222603087":"example BarcodeInput"}'
Hm, in principle yes, but would "entry.1222603087" be a constant for all requests to that end point? 🤔
I was thinking of adding a setting to provide a template for the JSON structure. Would that work for this?
"entry.1222603087" -> it's not, it is different for all fields.
"provide a template for the JSON structure. Would that work for this?"
A template would be great. In the example above we could define something like {"entry.1222603087":"%binaryeyeresult%" BarcodeInput"}', where %binaryeyeresult% should be replaced with the actual value. In this way we can send any JSON structure we want or the client needs.
Any feature added to BinaryEye that would fucncional on Google Sheets would be awesome.
Something new? is it possible to somehow send data to google sheets ?
Or does anyone know how to send from www.ifttt.com to google sheets ?
Google apps scripts allow you to create a web service that will allow you to receive requests from BinaryEye. With this, you don't need anything other than a Google Sheet and a Google Sheet for it.