curl --include --request GET "http://www.pricetree.com/dev/api.ashx?pricetreeId=11072&apikey=7770AD31-382F-4D32-8C36-3743C0271699"
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script>
function priceTreeCallback(data) {
// do something with the data
}
$.ajax({
"url":"http://www.pricetree.com/dev/api.ashx?pricetreeId=11072&apikey=7770AD31-382F-4D32-8C36-3743C0271699",
"crossDomain":true,
"dataType":"jsonp"
});
</script>
var request = require("request");
request("http://www.pricetree.com/dev/api.ashx?pricetreeId=11072&apikey=7770AD31-382F-4D32-8C36-3743C0271699",
function(err, response, body) {
console.log(body);
});
<?php
$request = "http://www.pricetree.com/dev/api.ashx?pricetreeId=11072&apikey=7770AD31-382F-4D32-8C36-3743C0271699";
$response = file_get_contents($request);
$results = json_decode($response, TRUE);
?>
import json
import urllib
results = json.load(urllib.urlopen("http://www.pricetree.com/dev/api.ashx?pricetreeId=11072&apikey=7770AD31-382F-4D32-8C36-3743C0271699"))
require 'rest_client'
response = RestClient.get 'http://www.pricetree.com/dev/api.ashx?pricetreeId=11072&apikey=7770AD31-382F-4D32-8C36-3743C0271699'
HttpResponseMessage response = await client.GetAsync("http://www.pricetree.com/dev/api.ashx?pricetreeId=11072&apikey=7770AD31-382F-4D32-8C36-3743C0271699");
if (response.IsSuccessStatusCode)
{
priceComparisonList item = await response.Content.ReadAsAsync();
Console.WriteLine("{0}\t${1}\t{2}", item.PriceTree_Id, item.Seller_Name, item.Best_Price);
}