various fun tinkerings with the Rdio API
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
etc . Apr 18, 2012
static an templates, an bootstrap Apr 20, 2012
README.markdown Update README.markdown Apr 20, 2012 fix memcachier config Apr 20, 2012 an templates, an bootstrap Apr 20, 2012
requirements.txt whoo Apr 18, 2012


fun rdio bits


  • A page that displays only the new releases for artists in a given user's collection.

CAVEAT: I am still just learning both Flask and the Rdio API. This is a totally incomplete scratchpad-ish project.


  • Hit up the Rdio Developers Site and see the how to get started portion. Register there and grab an "API key" and "API shared secret".
  • Get an account with Heroku.

Start a local python project like so. (I like to put my projects in a ~/Code directory. You can change that to whatever.)

cd ~/Code/
virtualenv --no-site-packages radiowut
cd radiowut
echo "export PIP_RESPECT_VIRTUALENV=true" >>| bin/activate
echo "export RDIO_KEY=\"your_api_key_here\"" >>| bin/activate
echo "export RDIO_SHARED_SECRET=\"your_shared_secret_here\"" >>| bin/activate
source bin/activate

git clone git:// repo
cd repo
pip install -r requirements.txt

You should be able to run python (Caveat: actually, you'll probably also need a local memcached installation to go with it.)

To deploy into Heroku: (You will need to change the app name from radiowut since I'm already using that one. ;) )

heroku create radiowut --stack cedar
heroku config:add RDIO_KEY=your_api_key_here
heroku config:add RDIO_SHARED_SECRET=your_shared_secret_here
#heroku config:add GA_ANALYTICS_ID=only_if_you_want_to
#heroku addons:add memcache # only 5MB free
heroku addons:add memcachier:25
git push heroku master