Remote Scanner: remote scanner to scan various codes in chatbots and websites

It’s impossible to conveniently scan the code in chatbots and websites. Remote Scanner helps solve this problem. By installing this application on your phone, you can conveniently scan any code inside a chatbot or on a website.

Usage example:

By installing this application on your phone, you can scan any code inside a chatbot or on a website. For example, there is a need to scan the code in a chatbot, you click on the “scan” function, the link opens the scanner, you scan the code and the result is shown in the chatbot. It helps to integrate the scanning function for various tasks easily.

QR and barcode scanner can scan and read all types of QR / barcodes, including text, URLs, product, contacts, calendar, email address, location, and many other formats. You can use a QR and barcode scanner to scan coupons to get discounts and save money. Also, you will be able to make other scans.

Application works in 2 modes:

– You can run and scan any code 

– Remote Scanner is called from other applications in order to scan the code and transfer the result automatically back to the application

(ссылка на БОТ)

To do this, you need to be able to (you will find a description of the API below):

  • Process requests from our scanner
  • Generate a specific line of code


Main features:

– Runs in chatbots and on websites

– Easy to scan QR codes, barcodes and to make other scans

– Scan and read all types of QR / barcodes

– Simple Scanner allows you to encrypt personal information, create codes for messages, Wi-Fi, phone numbers, etc.

– QR code scanner does not require an Internet connection to scan QR / barcodes

API description

The link in the chatbot must be of a certain type and contain the following parameters:

Parameters only for photo:

countPhotos – number – number of sent images

delayPhotos – number – delay between taking pictures

externalMask – string (url) – link to the mask image

General parameters (for photos and for qr/barcodes):

type – string (“photo”, “qr”, “barcode”) – type of scanner 

url – string (url) – link to the endpoint to which the image and user data will be sent

user_full_name – string – full username

user_chat_id – string – user chat ID

lang – string – interface language

user_lang – string – user language

An object will be formed at the end of reading the qr/barcode, and it will contain the parameter values from the link to the scanner and the value of the result of scanning the qr/barcode.

Then, a request will be made to the endpoint specified in the URL parameter.

Example:

For reference

https://qr.incust.com/?type=qr&url=https://qwe.qwe&user_chat_id=123&user_full_name=Alexander” the following object will be generated:

{

 type: ‘qr’,

 user_chat_id: ‘123’,

 user_full_name: ‘Alexander’,

 code_result: ‘*string with the result of the code*’

}

The scanner will wait for a response. The response must indicate the status of the code reading.

The following response object is expected on successful reading:

{

 success: true,

 message: ‘Message that will be shown to user (optional)’

}

The following response object is expected on a code reading error:

{

 success: false,

 message: ‘Message that will be shown to user (optional)’

}