Welcome to QRGeniusAPI! This Flask-based Python API is your go-to solution for generating hilarious QR codes in a snap.
Simply send your desired data through the API endpoint, and QRGeniusAPI will work its magic, transforming it into a quirky QR code masterpiece. Spice up your messages, URLs, or any other data with a touch of humor and creativity!
import requests
data = "Hello, world!"
response = requests.get(f"http://localhost:5000/qr?data={data}")
# Save or display the generated QR code image
with open("qrcode.png", "wb") as f:
f.write(response.content)
- Clone this repository to your local machine.
- Install the necessary dependencies by running
pip install -r requirements.txt
. - Run the Flask app by executing
python app.py
. - Send GET requests to
http://localhost:5000/qr
with your desired data. - Voila! Your hilarious QR code is ready to be shared.
- Python: Backend development using Flask.
- Flask: Micro web framework for Python.
- QRCode: Library for generating QR codes.
- Pillow: Imaging library for Python.
Coded with ❤️ by Shahjada ALif
Feel free to contribute to this project by forking the repository and submitting a pull request!
This project is licensed under the MIT License.