Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.48 KB

File metadata and controls

56 lines (44 loc) · 1.48 KB

License: MIT Website Discussions myapi.rest Suite

myapi.rest — QR Code API

Generate customizable QR codes through a simple, fast REST API.

Features

  • Supports PNG, JPG, and SVG output
  • Custom colors, margins, and ECC levels
  • Logo overlay support
  • Lightweight and developer-friendly

Quick Example

curl --location 'https://api.myapi.rest/api/qrcode/generate' \
  --header 'Authorization: Bearer <API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
    "data": "https://myapi.rest",
    "output_format": "PNG",
    "pixels_per_module": 20,
    "margin": 0,
    "ecc_level": "H"
  }'

Sample response:

{
  "id": 5,
  "qrcode": "<BASE_64_DATA>"
}

Documentation

See the /docs folder for full usage guides, examples, errors, and endpoint details.

Examples

Language examples are available in the /examples directory, including:

  • C#
  • JavaScript
  • Python
  • PHP
  • Postman Collection

myapi.rest Suite

This API is part of the broader myapi.rest developer suite.
For all APIs, documentation, and examples, visit:

👉 https://github.com/myapi-rest/myapi.rest