Re: Google Infographics QR code API is deprecated, is there any updated API?

780 views
Skip to first unread message
Message has been deleted

Ian Webster

unread,
Jul 14, 2019, 10:57:54 PM7/14/19
to Google Chart API
Hi Abdulla,

I don't think the dynamic Google Charts Javascript library supports QR codes.  There are many alternative services that have been posted on this mailing list since its deprecation.

One such service is QuickChart, which is hosted at quickchart.io and also open source.

Hope this helps,

Ian

On Sunday, July 14, 2019 at 7:45:29 PM UTC-7, Abdulla Dudekula wrote:
Hi Google Team, 

Currently, I'm using the Google Infographics api (https://chart.googleapis.com/chart?) for generating the QR code, but i found that in the documentation page "Warning: This API is deprecated. Please use the actively maintained Google Charts API instead. See our deprecation policy for details.

I tried to find updated API for QR code generation, in documents, but I'm not able to find it in the documents. Can u please provide the updated API? or can I use the existing one? 

currently, I'm not facing any issue, is there any effect in the near future? 

Thanks,
Abdulla D.

Francois-Guillaume Ribreau

unread,
Jul 17, 2019, 8:02:28 AM7/17/19
to Google Chart API
Another alternative is Image-Charts (highly reliable, deployed in data-centers around the world, sub-second response time): https://documentation.image-charts.com/qr-codes/

Ali Kobeissi

unread,
Jul 17, 2019, 1:32:16 PM7/17/19
to Google Chart API
What would be the function call be fore this? I'm having a little trouble understanding if its a script or something like the old model such as =image

Ian Webster

unread,
Jul 17, 2019, 1:55:42 PM7/17/19
to Google Chart API
You pass your QR payload to the API endpoint and get an image in return:

https://quickchart.io/qr?text=Hello world



For more complicated payloads it makes sense to URL encode your text (e.g. https://quickchart.io/qr?text=Hello%20world)

Ian

Ali Kobeissi

unread,
Jul 17, 2019, 2:36:21 PM7/17/19
to Google Chart API
Hey that worked great! 
I have another question if you guys don't mind.
I'm calling cells such as A5 and A9 but I want to put a page break between. I know using %0A is the correct code but I'm not sure how to implement it with calling cells.

Thank you!

Ian Webster

unread,
Jul 17, 2019, 2:53:52 PM7/17/19
to Google Chart API
I'm not totally sure about your use case but you may find the ENCODEURL Google Spreadsheets function useful, in combination with the JOIN function.

Ian
Reply all
Reply to author
Forward
0 new messages