Bitcoin-exchange-api is a project mainly written in JavaScript, it's free.
Universal API for Bitcoin Exchanges
Install nodejs
https://github.com/joyent/node/wiki/Installation
Install dependencies
npm install
Run
node server.js