Try this code ! 
    public function getQRCodeGoogleUrl($name, $secret, $title = null, 
$params = array())
    {
        $width = !empty($params['width']) && (int) $params['width'] > 0 ? 
(int) $params['width'] : 200;
        $height = !empty($params['height']) && (int) $params['height'] > 0 
? (int) $params['height'] : 200;
        $level = !empty($params['level']) && array_search($params['level'], 
array('L', 'M', 'Q', 'H')) !== false ? $params['level'] : 'M';

        $urlencoded = 
urlencode('otpauth://totp/'.$name.'?secret='.$secret.'');
        if (isset($title)) {
            $urlencoded .= urlencode('&issuer='.urlencode($title));
        }

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

Le mercredi 17 avril 2024 à 01:12:03 UTC+1, Kasturi Gottivedu Shriniwas a 
écrit :

> hi,
> I was using the https://chart.googleapis.com/chart to generate charts 
> with reporty.
> https://reporty.corp.google.com/5742282835230720
>
>  I was able to produce charts till April 12 2024. However, I get 404 not 
> found error now. Is it no longer working ?
>
>
> Regards,
> Kasturi
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/1a5bffb4-cf26-4346-ad34-d6345650bc14n%40googlegroups.com.
  • [visualization-... 'Kasturi Gottivedu Shriniwas' via Google Visualization API
    • [visualiza... RADHWEN DALY HAMDOUNI

Reply via email to