To get PSI reading info via Imgshow Platform. Here are the list of places we support. Your country not in the list? Contact us via fyhao1 [at] gmail.com, tell me your country and I will try to support it.
Here goes the code
[imgshow]q:name=psi,place=my[/imgshow]
[imgshow q:name=psi,place=my]
<?php
require_once 'class_imgshow.php';
$img = new imgshow();
echo $img->name('psi')->p('place', 'my')->load();
?>
var imgshow = require('imgshow');
imgshow().name('psi').p('place', 'my').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('psi').p('place', 'my').load(function(result) {
alert(result);
});
});
include('imgshow.js');
if(session.ready()) {
session.answer();
util.say('Please hold while we querying');
imgshow().name('psi').p('place', 'my').load(function(message) {
util.say('the result is ' + message);
});
}