๐Ÿ“ƒReader

With the QRcode reader you can verify if the link is not dangerous for you or users

Read a QR Code

GET https://api.night-api.com/images/qrcode/reader

Headers

Name
Type
Description

authorization*

String

Your API key

Request Body

Name
Type
Description

image*

Buffer or URL

The image in Buffer or URL.

const axios = require("axios");
const { readFileSync } = require("fs");

axios.get('https://api.night-api.com/images/qrcode/reader', {
    headers: {
        authorization: "Your API token"
    },
    data: {
        image: readFileSync(`${__dirname}/qrcode.png`)
    }
})
.then(function (response) {
    console.log(response.data);
})

Or with the module

PS: read function take Buffer or URL parameter

Last updated

Was this helpful?