Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Generate or read QR Code with REST API from Good Survey

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 php update, php and readme May 19, 2011
Octocat-spinner-32 README
README
Using API with PHP

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

include_once("include/QRCodeAPI.class.php");
$api = new QRCodeAPI();
$png = $api->generate("http://www.good-survey.com", "png");
$png = $api->encode("http://www.good-survey.com", "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.