Team: Password:

Sample AJAX Call to Team Website API - Get Cumulative Stats

$.ajax({
	context: this,
	type: "GET",
	url: "http://api.iscoresports.com/teamwebsite/cumulativestats.php",
	data: { s: $("#sport").val(), t: $("#team").val(), p: $("#pwd").val(), json: "1" },
	dataType: "jsonp",
	success: function(data)
	{
		showResult(data);
	},
	error: function()
	{
		alert("An error occurred in the request");
	}
});