Last active
November 2, 2015 20:24
-
-
Save philmein23/3679e832afd1297ad94b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var topAnswers = function() { | |
var request = { | |
site: 'stackoverflow', | |
order: 'desc', | |
sort: 'creation' | |
}; | |
$.ajax({ | |
url: "http://api.stackexchange.com/2.2/tags/"+ q +"/top-answerers/all_time", | |
data: request, | |
dataType: "jsonp", | |
type: "GET", | |
success:(function (result) { | |
console.log(result); | |
}) | |
}) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment