Created
December 13, 2009 07:54
-
-
Save Marak/255337 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 api = new DropioApiClient("[YOUR API KEY]"); | |
api.getDrop({drop_name:"somedrop",token:"p@ssw0rd"},receive_response); | |
function receive_response(response,success) { | |
if( success ) | |
for(i in response) | |
alert(i + ": " + response[i]); | |
else | |
alert("Error getting drop: " + response.message); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment