QR Code api - alimd/1dooni GitHub Wiki
You know about ali.md/qr
But we need to access image directly for use in out website or server scrips
http://ali.md/qr/250x250/qrdata
you can use it in img tag or css background
<img src="http://ali.md/qr/250x250/qrdata" alt="qrcode" width="250" height="250" />
qrdata string sample
Text
http://ali.md/qr/250x250/Hello this is a simple text.
Url
http://ali.md/qr/250x250/http://ali.md/
Call
http://ali.md/qr/250x250/TEL:0014122546365
SMS
note: you can use %250A for newline (dont use %0A).
http://ali.md/qr/250x250/SMSTO:0014122546365:Hello%250AThis is a simple sms text.%250AVisit ali.md/qrapi for more information
vCart
BEGIN:VCARD
VERSION:2.1
FN:Ali Mihandoost
N:Mihandoost;Ali
TITLE:Ph.D.
TEL;CELL:00989158040826
TEL;WORK;VOICE:00985116108591
TEL;HOME;VOICE:00985116108590
EMAIL;HOME;INTERNET:[email protected]
EMAIL;WORK;INTERNET:[email protected]
URL:http://ali.md/
ADR:;;Edge;Mashad;;123456789;Iran
ORG:1Devs
END:VCARD
You must replace newline by %250A in url.
http://ali.md/qr/250x250/BEGIN:VCARD%250AVERSION:2.1%250AFN:Ali Mihandoost%250AN:Mihandoost;Ali%250ATITLE:Ph.D.%250ATEL;CELL:00989158040826%250ATEL;WORK;VOICE:00985116108591%250ATEL;HOME;VOICE:00985116108590%250AEMAIL;HOME;INTERNET:[email protected]%250AEMAIL;WORK;INTERNET:[email protected]%250AURL:http://ali.md/%250AADR:;;Edge;Mashad;;123456789;Iran%250AORG:1Devs%250AEND:VCARD%250A
w3c vcard notes : ali.md/vcardnotes
For remember this page url : ali.md/qrapi or scan this image ;)