https://github.com/simatwa/qrcode-maker-bot
Telegram bot for generating QRCodes
https://github.com/simatwa/qrcode-maker-bot
Last synced: about 1 year ago
JSON representation
Telegram bot for generating QRCodes
- Host: GitHub
- URL: https://github.com/simatwa/qrcode-maker-bot
- Owner: Simatwa
- License: mit
- Created: 2023-12-22T14:04:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T16:50:52.000Z (over 2 years ago)
- Last Synced: 2025-02-16T19:48:42.386Z (over 1 year ago)
- Language: Python
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- 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)