1.0.5 • Published 2 years ago

qr-code-generator-sdk v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

QR code generator SDK

SDK for generating and tracking qr codes https://qr-code-generator.com
Get your api key here https://app.qr-code-generator.com/api

Install

npm i qr-code-generator-sdk

Example

import { QrClient } from 'qr-code-generator-sdk'

let new_QR = new QrClient('YOUR_TOKEN_IS_HERE')

let qrParam = {
    frame_name: "no-frame",
    qr_code_text: "https://www.npmjs.com/package/qr-code-generator-sdk",
    image_format: "SVG",
    qr_code_logo: 'no-logo',
    marker_left_template: 'version1'
}

//Regular qr code generation
new_QR.createQR(qrParam).then(response => console.log(response))

Result

npm.io

Parameters

Parameter NameTypeDefaultDescription
qr_code_textstringRequiredWhat you like to encode e.g. https://www.yourdomain.com or Free Text
image_formatstringSVGThe output file format for your QR Code. There are different formats available. Possible values: JPG, PNG, SVG, EPS
qr_code_logostringno-logo
marker_left_templatestringversion1
marker_bottom_template
marker_right_template
frame_namestring

Design Parameters Marker

type: string , Default: version1
  • marker_left_template
  • marker_right_template
  • marker_bottom_template
Description

npm.io

Design Parameters qr_code_logo

type: string , Default: no-logo
Description
  1. no-logo
  2. scan-me
  3. scan-me-square
1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago