API - QRcode

REQUEST

Analyze an image and return the text found in the QRcode.

        https://www.moderatecontent.com/api/v2?
        qrcode=true&
        moderate_off=true&
        key=your_api_key&
        url=https://www.moderatecontent.com/img/qr_code_mdr8_sample.jpg
    
ARGUMENTS

qrcode
boolean
A flag to turn on the QRcode feature (true | false). Text is returned as a string.
true

moderate_off
boolean
To improve the speed of face detection set this flag to true, the content moderation feature will be disabled. Set this flag to false to combine both moderation and face detection.
true

key
string
The api key used to reference your account within the system.
f96f44847704d2291b2967536afe8898

url
string
The url pointing at an image accessible over the internet, no larger than 10mb and with a format of either .jpg .png .bmp .gif.
https://www.moderatecontent.com/img/qr_code_mdr8_sample.jpg
RESPONSE

        {
            "url_classified": "https://www.moderatecontent.com/img/qr_code_mdr8_sample.jpg",
            "qrcode_data": "https://www.moderatecontent.com/",
            "error_code": 0
        }
    

url_classified
string
The url pointing at an image accessible over the internet, no larger than 10mb and with a format of either .jpg .png .bmp .gif.
https://www.moderatecontent.com/img/qr_code_mdr8_sample.jpg

qrcode_data
string
The text found in the QRcode.
Parent: qrcode
https://www.moderatecontent.com/

error_code
integer
A code representing the type of error returned. The value 0 means no error was found.
1024

error
integer
Optional
A message representing the type of error returned. This occurs when the error_code is not 0.
No url specified in querystring

Need some support?


Send us an email and we will get back to you as soon as possible!

info@moderatecontent.com

Terms of Service and Privacy Policy