// What up, @mdo. You'll need a recent version of jQuery. // You can try this out by pasting it into the console on http://api.jquery.com/jQuery.ajax/ window.repoCallback = function (obj) { console.log("Watchers:" + obj['repository']['watchers']); console.log("Forks:" + obj['repository']['forks']); } $.ajax("https://github.com/api/v2/json/repos/show/twitter/bootstrap?callback=repoCallback", {dataType: "jsonp"});