PDA

View Full Version : Ubuntu One API - List Files



snowz
July 23rd, 2012, 02:47 PM
I've wanted to create a JavaScript web app that requires you to put in your Ubuntu One username and password and then it would list all your files that are in your Ubuntu One storage. The files would be filtered to show only the .mp3 ones.

I've been looking at this:

http://developer.ubuntu.com/resources/app-developer-cookbook/ubuntu-one/adding-ubuntu-one-files-support-to-your-app/

but its all in Python.

Basically it looks like I only need the login script and the list files script, but in JavaScript instead of Python.

I'm worried because there are so many imported lib's.

Any suggestions? :-k

snowz
July 24th, 2012, 03:41 PM
Have to do this, bump [-o<

mevun
July 25th, 2012, 07:49 AM
You will need to re-implement the credential checking library with Oauth functionality in javascript. I think the other imports are for functionality already present in javascript. Like if you know how to do AJAX, then you don't need anything like "urllib". Obviously javascript already parses json format so you don't need the equivalent python module for parsing that.