Skip to content

Instantly share code, notes, and snippets.

@austinbv
Created September 2, 2011 17:57
Show Gist options
  • Save austinbv/1189309 to your computer and use it in GitHub Desktop.
Save austinbv/1189309 to your computer and use it in GitHub Desktop.
url = "http://otter.topsy.com/search.js?callback=?&apikey=38A260E9D12A4908B1AF9184B691131&q=bieber&window=d";
requests.push($.ajax({
url: url,
dataType: 'jsonp',
timeout: 1500,
success: function(data) {
trend.total += data.response.total;
}
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment