PublicBox

The Problem

You have a public Dropbox folder that you want to access programmatically (for example, from a Schreihals blog. Schreihals is awesome!) But Dropbox only provides a HTML view of the contents. Hot damn!

The Solution

PublicBox is a web service that parses the HTML provided by DropBox and returns a simple JSON document representing the contents of your public DropBox folder. Awesome!

Usage

Simply replace the https://www.dropbox.com/ part of your public Dropbox folder's URL with https://publicbox.heroku.com/. For example, if your public dropbox folder has the following URL:

https://www.dropbox.com/s/timd27onyt5t5b6

then the following URL will give you an index of the folder's contents as JSON:

https://publicbox.heroku.com/s/timd27onyt5t5b6

And that's about it, really. Enjoy!