Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
various fun tinkerings with the Rdio API
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
etc
static
templates
LICENSE
Procfile
README.markdown
app.py
cacheutil.py
radiowut.py
requirements.txt

README.markdown

fun rdio bits

Currently:

  • 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.

Instructions

  • 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://github.com/mtigas/radiowut.git repo
cd repo
pip install -r requirements.txt

You should be able to run python app.py. (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
Something went wrong with that request. Please try again.