Skip to content
Browse files

Added version of example in Coffeescript.

  • Loading branch information...
1 parent 8db8ee9 commit 0cc7f83f46b13d1f46c32b96d8a14c17b3d6d9f1 @mcantelon committed Mar 26, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 example.coffee
View
6 example.coffee
@@ -0,0 +1,6 @@
+sys = require('sys')
+Calais = require ('./lib/calais').Calais
+
+calais = new Calais 'your_api_key'
+calais.set 'content', 'The Federal Reserve is the enemy of Ron Paul.'
+calais.fetch (result) -> sys.puts sys.inspect result

0 comments on commit 0cc7f83

Please sign in to comment.
Something went wrong with that request. Please try again.