2013年8月28日 星期三

利用 Google Api 產生 QR Code

Google 本身有一個繪製圖表的 API 可以在各種統計報表的時候看到,那這個 API 當然也可以拿來生成 QRCode 囉~

調用網址:https://chart.googleapis.com/chart?cht=qr

這邊寫一個簡單的範例,將網址轉換成 QRCode
window.open("https://chart.googleapis.com/chart?cht=qr&chs=120x120&choe=UTF-8&chld=H|0&chl=" + location.href)




轉至:http://knowlet3389.blogspot.tw/2013/08/js-google-api-qrcode.html



沒有留言:

張貼留言