0.0.1 • Published 12 years ago

put.io-v1 v0.0.1

Weekly downloads
6
License
-
Repository
github
Last release
12 years ago

put.io.js

Put.io Javascript library for node.js and browser

If you're using it in the browser, you'll need jQuery.

It's really easy to use.

Install

For node... npm install put.io-v1 For browser... wget https://raw.github.com/devTristan/put.io.js/master/put.io.js

Node

var PutIO = require('put.io-v1');

Browser

<script type="text/javascript" src="./put.io.js"></script>

And then...

var api = new PutIO(key, secret);

api.files.list(function(items){
	for (var i in items) {
		console.log(items[i].name);
	}
});