Skip to content
Generate or read QR Code with REST API from Good Survey
Find file
New pull request
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Using API with PHP

Include 'QRCodeAPI.class.php' in your project and initialize a new 'QRCodeAPI' instance.

$api = new QRCodeAPI();
$png = $api->generate("", "png");
$png = $api->encode("", "png", 5, 8, 4, "byte", "M");
$json = $api->decode("images/http-www-good-survey-com.png");

See comments in the sample.

Thanks to Bill Ortell for CURL code and testing.
Something went wrong with that request. Please try again.