https://github.com/simatwa/qrcode-maker
Simple qrcode maker Flask API
https://github.com/simatwa/qrcode-maker
flask flask-api qrcode-maker
Last synced: 25 days ago
JSON representation
Simple qrcode maker Flask API
- Host: GitHub
- URL: https://github.com/simatwa/qrcode-maker
- Owner: Simatwa
- License: mit
- Created: 2023-12-05T22:27:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-29T14:27:23.000Z (over 2 years ago)
- Last Synced: 2025-10-04T04:37:04.685Z (8 months ago)
- Topics: flask, flask-api, qrcode-maker
- Language: Python
- Homepage: https://qrcode.pythonanywhere.com
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
QRCode-maker
> Generate [QR-code](https://en.wikipedia.org/wiki/QR_code) for whatever text in [.png](https://en.wikipedia.org/wiki/PNG) format.
## Installation
You need to have [Python>=3.9](python.org) installed.
```
git clone https://github.com/Simatwa/qrcode-maker.git
cd qrcode-maker
pip install -r requirements.txt
```
## Usage
Fire up the server:
- `python -m flask run -p 8000`
The v1 endpoint will be available at `http://localhost:8000/v1`
### Parameters
- `data` - The text : ()
- `fit` - Ensures data fit more efficiently - `Boolean` *data type* : true
- `version` - QR code version - *number of modules/dots*. : (1)
- `box_size` - Size of each box : (10)
- `border` - Number of modules/dots around QR Code. : (5)
- `fill_color` - Self explanatory : (black)
- `back_color` - background color : (white)
## Conclusion
Have some fun with the api available [here](https://qrcode.pythonanywhere.com/v1?data=hello)
Kick off with this https://qrcode.pythonanywhere.com/v1?data=hello%20world&back_color=yellow&box_size=15&fill_color=blue