Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Charts API is deprecated and not available since March 19, 2019 #62

Closed
luxemate opened this issue Mar 19, 2019 · 4 comments
Closed

Comments

@luxemate
Copy link

luxemate commented Mar 19, 2019

Google Charts API has a nice warning about that:

Warning: This API is deprecated and is scheduled to be turned off on March 14, 2019. Please use the actively maintained Google Charts API instead.

And returns 502 instead of qr-code:
2019-03-19_09-19

@svoorn
Copy link

svoorn commented Mar 19, 2019

Just replace line 112 with return "https://api.qrserver.com/v1/create-qr-code/?data=$urlencoded&size=${width}x${height}&ecc=$level";

@PHPGangsta
Copy link
Owner

Thanks, has been commited: 4f80232

@luxemate
Copy link
Author

Thanks! Would be great to also have a way to define your own URL for QR code generation (we backed off to our internal URL), to have a choice between open solutions or not rely on them altogether, as they work today and might not work tomorrow. But that's a different story. :)

@PHPGangsta
Copy link
Owner

Of cause you can generate your own QR code URL. Just use the secret (via createSecret()) and build your own URL. The built-in function is just a small help for convenience, but nobody is forced to use it 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants