Libraries/6 of 22
Official SDKs
Node, Python, PHP, and Go clients for the same v1 REST surface.
Official clients wrap generate, dynamic codes, and bulk jobs. They share one v1 method surface and map API errors to typed exceptions (MaxQrError / MaxQrException).
| Language | Package | Install |
|---|---|---|
| Node.js / TypeScript | @getmaxqr/node | npm install @getmaxqr/node |
| Python | getmaxqr | pip install getmaxqr |
| PHP | getmaxqr/sdk | composer require getmaxqr/sdkGitHub |
| Go | github.com/MichaelGenesisII/Max-QR-Code-Go-SDK | go get github.com/MichaelGenesisII/Max-QR-Code-Go-SDK@v0.1.0GitHub |
| CLI | maxqr | See CLI |
| WordPress | max-qr-code | See WordPress |
Business keys (mq_live_…) for dynamic/bulk. Large logo uploads should hit api.getmaxqr.com directly (multipart), not a serverless proxy.
Node
npm install @getmaxqr/node
import { writeFile } from "node:fs/promises"
import { MaxQr, content } from "@getmaxqr/node"
const client = new MaxQr({ apiKey: process.env.MAXQR_API_KEY })
const qr = await client.generate(content.url("https://example.com"), { format: "png" })
await writeFile("code.png", Buffer.from(qr.data_base64, "base64"))