QR Code - Tracking service, News, Videos, Forum, Focus groups and more ..

The first and only all in one dedicated QR code website on the net. Find out everything you need to know about QR codes

  • Increase font size
  • Default font size
  • Decrease font size
Home QR Code News + Newsflash Google QR Code Chart API

Google QR Code Chart API

Google QR Code api

Google have recently added a QR Code generator API to their existing extensive API of chart generators. It's never been easier to generate your own QR Codes straight from within your own website without any programming involved whatsoever.

The new qr chart type has three attributes :-

cht=qr

chl=<text>

choe=<output> optional

The Output paramater specifies how the text is encoded in the QR Code and the options are Shift_JIS, UTF-8, or ISO-8859-1.

Hexadecimal notion should be used for special characters, for example use %20 instead of a space (Hexadecimal 0x20 is ascii 32 which represents a space). A complete ASCII table can be found at web.cs.mun.ca

Here's the api call to create a http:\\www.qrme.co.uk QR code :-
<img src="http://chart.apis.google.com/chart?cht=qr&chl=http://www.qrme.co.uk&chs=120x120"
alt="Sample chart" />

..and heres the result

Sample chart

If you want to just mess about with QR Codes just paste this into your browser address bar and modify it :-

http://chart.apis.google.com/chart?cht=qr&chl=http://www.qrme.co.uk&chs=120x120

Note that you must specify the chart size (attribute chs) otherwise you'll get a malformed address error back from the api.

You can also optionally set the Error correction level using the chld attribute :-

chld=<EC level>|<margin>

Where:

* <EC level> is one of
- L allows 7% of a QR code to be restored
- M allows 15% of a QR code to be restored
- Q allows 25% of a QR code to be restored
- H allows 30% of a QR code to be restored
(or their lower case equivalents l, m, q, or h).
* <margin> defines the margin (or blank space) around the QR code. The default image has a margin equivalent to 4 rows / columns of the chart.

More information on Googles QR Code api can be found at Google QR Code API.

 

Share the love ..

Normal Login

My QRMe code stats

This is our QRMe code. Register for yours
Scanned 2134 times.
Last 6 months

Customisable trackable stuff

QR code T-shirt

Find out more about QRMe

Buy a QR code report

Latest group bulletins

Understand a QR code

Understand a QR code
JoomlaWatch Stats 1.2.7 by Matej Koval

Countries

25%UNITED STATES UNITED STATES
10.8%UNITED KINGDOM UNITED KINGDOM
5.8%GERMANY GERMANY
4.4%AUSTRALIA AUSTRALIA
4.4%ITALY ITALY
4.4%NETHERLANDS NETHERLANDS
3.2%BRAZIL BRAZIL
3.1%THAILAND THAILAND
2.8%FRANCE FRANCE
2.5%SPAIN SPAIN
2.4%POLAND POLAND
2.1%CZECH REPUBLIC CZECH REPUBLIC

Visitors

Today:  64
Yesterday:  910
This week:  4312
Last week:  5611
This month:  23710
Last month:  22952
Total:  222828