Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Avatars → Get QR Code

AI-generated

Overview

This node interacts with the Appwrite API to generate QR codes from plain text. It is useful for creating QR codes for URLs, text snippets, or any other data that needs to be encoded visually for scanning. For example, it can generate a QR code for a website link to be shared easily or for event tickets.

Use Case Examples

  1. Generate a QR code for a URL to share on social media.
  2. Create a QR code for a text message to be printed on flyers.

Properties

Name Meaning
Text The plain text to convert into a QR code.
Size The size of the QR code in pixels, ranging from 1 to 1000.
Margin The margin from the edge of the QR code in units, ranging from 0 to 10.
Download Whether to return the QR code with Content-Disposition attachment headers to prompt a download.

Output

JSON

  • qrCodeUrl - URL or data of the generated QR code image.

Dependencies

  • Requires an API key credential for Appwrite API authentication.

Troubleshooting

  • Ensure the 'Text' property is not empty as it is required to generate the QR code.
  • Verify that the 'Size' is within the allowed range (1-1000) to avoid errors.
  • Check network connectivity and API credentials if the node fails to connect to the Appwrite service.
  • If 'Download' is enabled, ensure the client supports handling Content-Disposition headers for file downloads.

Links

Discussion