This is a demonstration of the Qhub API (see qhub.com/api for more details).
Once I got my API key, all I had to do was run this code:
require_once('functions/class.qhub.php'); $qhub = new qhub('myhub','myid','mypass','mykey'); $result = $qhub->request('/questions.xml?tags[]=domain&tags[]=hosting&tags[]=swinny'); print "<pre>".htmlspecialchars($result)."</pre>";And here's the output!
<?xml version="1.0"?> <response status="fail">qa.swinny.net Does Not Exist</response>Tweet