Adding an Online QR Code API Service
Machine-translated (anthropic, claude-haiku-5-5) from the Chinese original. Read the original in 中文
Contents
Preface
I plan to consolidate the APIs that cannot be used remotely, to shorten the API list, add more useful remote APIs, and save server resources! There are already 12 categories of APIs!
Body
To meet the online QR code generation needs of netizens and individual users such as personal bloggers, we are now adding an online QR code generation service, saving server resources for the wider blogging community. Upholding the service principle of convenience for the masses, carrying out the spirit of the 19th National Congress of the Communist Party of China, and practicing the spirit of the 13th Five-Year Plan documents, implementing the concepts of innovation, coordination, green development, openness, and sharing, promoting the construction of the rule of law in the country, and serving the people! (Seriously, a series of over-indoctrinated political science jokes!)
Parameters
url: The URL that the QR code points to
m: Width of the white border around the QR code (default: 3px)
e: Error correction level (errorLevel)
Optional values are as follows (default: L):
- L: approximately 7% of codewords can be restored
- M: approximately 15% of codewords can be restored
- Q: approximately 25% of codewords can be restored
- H: approximately 30% of codewords can be restored
p: QR code size, range 1–10 (the actual size depends on the error correction level) (default: 6)
Usage example:
https://xsy.app/qr/get/?m=3&e=H&p=6&url=https://hap5.top
Comments