Skip to content

Instantly share code, notes, and snippets.

@mcantelon
Created October 3, 2010 17:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcantelon/608741 to your computer and use it in GitHub Desktop.
Save mcantelon/608741 to your computer and use it in GitHub Desktop.
var sys = require('sys'),
rest = require('restler-aaronblohowiak'),
item,
node
rest.get('http://mikecantelon.com/jsontest/News')
.addListener('complete', function(data) {
for(item in data.nodes) {
node = data.nodes[item].node
sys.puts(node.Title)
sys.puts(node.Body)
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment