Dropbox is an awesome way to store and share files in the cloud (e.g. you can use it to mirror files across many computers or routers). BTW, if you'd like to sign up, here is my referral link (both you and I will get some extra space if you use it): LINK
My specific goal was to create a script that would poll my Gmail account every few minutes and check for specific messages that contain attachments. Then, it would save the attachments to my dropbox account so I could easily access them on all of my desktop computers. I used python and it all worked out nicely. The steps below will get you up and running with the Dropbox API.
My router is WNDR3700v2 running 10.03.1
These steps assume that you already have a dropbox account.
Step 1: Sign up for the dropbox developper account here: https://www.dropbox.com/developers
Step 2: Create a dropbox App using this link: https://www.dropbox.com/developers/apps
Step 3: Install python on your router:
opkg update
opkg install python python-openssl
Step 4: Install setuptools (needed to install the Dropbox API)
cd /tmp
wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
sh setuptools-0.6c11-py2.6.egg
Step 5: Download and unpack the API from dropbox website: https://www.dropbox.com/static/develope … dk-1.2.zip
Step 6: Go through the short tutorial on how to use the API. https://www.dropbox.com/developers/start/setup#python
That's it. Let me know if you run into any problems.