[imgshow]q:name=gdoc,url=http://www.markwatson.com/opencontent/JavaAI3rd.pdf[/imgshow]
[imgshow q:name=gdoc,url=http://www.markwatson.com/opencontent/JavaAI3rd.pdf]
<?php
require_once 'class_imgshow.php';
$img = new imgshow();
echo $img->name('gdoc')->p('url', 'http://www.markwatson.com/opencontent/JavaAI3rd.pdf')->load();
?>
var imgshow = require('imgshow');
imgshow().name('gdoc').p('url', 'http://www.markwatson.com/opencontent/JavaAI3rd.pdf').load(function(result) {
console.log(result);
});
var imgshow = require('./imgshow.js');
var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
imgshow().name('gdoc').p('url', 'http://www.markwatson.com/opencontent/JavaAI3rd.pdf').load(function(result) {
alert(result);
});
});
include('imgshow.js');
if(session.ready()) {
session.answer();
util.say('Please hold while we querying');
imgshow().name('gdoc').p('url', 'http://www.markwatson.com/opencontent/JavaAI3rd.pdf').load(function(message) {
util.say('the result is ' + message);
});
}
Visit Imgshow API Github Page for more information