Skip to main content

A command-line utility for exporting an Rdio collection.

Project description

This exporter can be used to backup the collection of an Rdio user. It includes a command-line utility script and a library for bundling into your own applications.

If you like this library and it’s saved you some time, please consider supporting further development with a Gittip donation!

Requirements

  • requests

  • requests_oauthlib

Installing

$ pip install python-rdio-export

You can (optionally) provide your Rdio credentials via a global config file located in ~/.rdioconfig with the format:

[Rdio]
rdioConsumerKey=your_api_key
rdioConsumerSecret=your_api_secret

Alternatively, you can provide your Rdio credentials via two environment variables:

$ export RDIO_CONSUMER_KEY=your_api_key
$ export RDIO_CONSUMER_SECRET=your_api_secret

Note: These environment variables will only be consumed by the rdio-export script and can be overridden through the use of the script flags --key and --secret.

Examples

Export by username:

$ rdio-export --user twaddington

Export by email:

$ rdio-export --email tristan.waddington@gmail.com

Export to a file:

$ rdio-export --user twaddington > rdio-backup.txt

Publishing

# Register with pypi (only done once)
$ python setup.py register

# Upload a new source distribution to pypi
$ python setup.py sdist upload

Bug reports

If you encounter any issues, please open a new issue on the project’s GitHub page.

License

See the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-rdio-export-1.1.1.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

python_rdio_export-1.1.1-py2.py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page