Skip to content

Instantly share code, notes, and snippets.

@Marak
Created December 13, 2009 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Marak/255337 to your computer and use it in GitHub Desktop.
Save Marak/255337 to your computer and use it in GitHub Desktop.
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