Skip to content

Instantly share code, notes, and snippets.

@lkosak
Created September 20, 2013 02:17
Show Gist options
  • Save lkosak/6632546 to your computer and use it in GitHub Desktop.
Save lkosak/6632546 to your computer and use it in GitHub Desktop.
hackpad client example
var Hackpad = require('hackpad');
var client = new Hackpad("client_id", "secret")
client.create("my new hackpad\n#hello!\n##subtitle\n[a link](http://www.alink.com)", "text/x-web-markdown", function(err, res){
console.log(err, res);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment