Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.7 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.7 KB

QRCode-maker

License wakatime Progress Code-style

Generate QR-code for whatever text in .png format.

Installation

You need to have Python>=3.9 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

Kick off with this https://qrcode.pythonanywhere.com/v1?data=hello%20world&back_color=yellow&box_size=15&fill_color=blue