========================================
  QR CODE API - EXAMPLE FILES
========================================

This ZIP contains example code for using the QR Code Generator API.

📁 Files Included:
========================================

1. example.html
   - Interactive web demo
   - Generate QR codes in real-time
   - Visual form interface
   - Code examples included

2. example_basic.html
   - Simple HTML-only example
   - No JavaScript required
   - Direct image embedding

3. example_javascript.html
   - Fetch API example
   - Blob handling
   - Download functionality

4. example_ajax.html
   - jQuery example
   - AJAX request demo

5. README_EXAMPLE.txt
   - This file

========================================
🚀 Quick Start
========================================

1. Open example.html in your browser
2. Enter your data (URL or text)
3. Click "Generate QR Code"
4. Download the generated QR code

========================================
📡 API Endpoint
========================================

https://qr.dee4u.com/api/qr

Parameters:
- data (required): URL or text to encode
- size (optional): 50-2000 pixels (default: 300)
- format (optional): png, png-transparent, jpg, jpeg
- filename (optional): custom filename

========================================
💡 Usage Examples
========================================

Basic:
https://qr.dee4u.com/api/qr?data=https://example.com

With size:
https://qr.dee4u.com/api/qr?data=https://example.com&size=500

Transparent PNG:
https://qr.dee4u.com/api/qr?data=https://example.com&format=png-transparent

Full parameters:
https://qr.dee4u.com/api/qr?data=https://example.com&size=800&format=jpg&filename=my-qr

========================================
🔧 Integration Examples
========================================

HTML:
<img src="https://qr.dee4u.com/api/qr?data=https://example.com">

JavaScript:
fetch('https://qr.dee4u.com/api/qr?data=test')
  .then(r => r.blob())
  .then(blob => /* use blob */);

PHP:
$img = file_get_contents('https://qr.dee4u.com/api/qr?data=' . urlencode($url));

Python:
import requests
r = requests.get('https://qr.dee4u.com/api/qr', params={'data': 'test'})

========================================
📖 Full Documentation
========================================

Visit: https://qr.dee4u.com/api/
Interactive Testing: https://qr.dee4u.com/api/test.html

========================================
✨ Features
========================================

✓ Free to use
✓ No API key required
✓ Multiple formats (PNG, JPG, transparent)
✓ Customizable size (50-2000px)
✓ High quality (ECC Level H)
✓ Fast response (< 100ms)
✓ Privacy-focused (URLs not stored)

========================================
⚠️ Rate Limit
========================================

30 requests per minute per IP address

========================================
🌐 Support
========================================

Website: https://www.dee4u.com
API Docs: https://qr.dee4u.com/api/

========================================

Made with ❤️ by dee4u.com
