14

For the last 5 or so years if I have needed a QR code I have used the google APIs, yesterday for around 4 hours this service stopped. On investigation I found the service is now deprecated and a link to use Google Charts instead? I can not find any qr codes though?

Warning: This API is deprecated. Please use the actively maintained Google Charts API instead. See our deprecation policy for details

So my question is does anyone one know if Google maintaining an API to generate QR Codes? If so where can the documentation on this be found. Or has their been a definitive statement from Google to say they are not supporting it going forward.

The google API is really easy to use and has been reliable until now, example below.

https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl=stuff

enter image description here

I found this post from a few years ago, I am not working in php sadly. Is there an alternative to Google Chart API QR Generator?

RickWeb
  • 1,765
  • 2
  • 25
  • 40
  • Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it. – Linda Lawton - DaImTo Mar 06 '19 at 11:27
  • Its been deprecated since 2015. Think you had loads of warning. – Linda Lawton - DaImTo Mar 06 '19 at 11:27
  • @DaImTo I have edited the post so it is more of a cut and dry question, For production I have always used a self contained solution. Maybe off the back of this I will produce my own API to use. – RickWeb Mar 06 '19 at 11:46
  • i had the same issue with that google api, but i found this http://goqr.me/api/ is simple, and it works fine. You should try it. – erwinlobos Mar 20 '19 at 03:12

1 Answers1

4

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

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

andy
  • 2,002
  • 1
  • 12
  • 21
abhu d
  • 41
  • 2