Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

various fun tinkerings with the Rdio API

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 etc
Octocat-spinner-32 static
Octocat-spinner-32 templates
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.markdown
Octocat-spinner-32 app.py
Octocat-spinner-32 cacheutil.py
Octocat-spinner-32 radiowut.py
Octocat-spinner-32 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.