A command-line utility for exporting an Rdio collection.
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. The command-line utility will output results to stdout by default.
If you like this library and it’s saved you some time, please consider supporting further development with a Gittip donation!
$ pip install python-rdio-export
You’ll need to acquire API credentials from the Rdio developer site.
When using the command-line utility you can authenticate with Rdio one of three ways.
First, by providing your credentials to the command-line utility directly:
$ rdio-export --user twaddington --id your_client_id --secret your_client_secret
You can also (optionally) provide your Rdio credentials via two environment variables:
$ export RDIO_CLIENT_ID=your_client_id $ export RDIO_CLIENT_SECRET=your_client_secret
You can also (optionally) provide your Rdio credentials via a global config
file located in
~/.rdioconfig with the format:
[Rdio] rdioClientId=your_client_key rdioClientSecret=your_client_secret
Note: Credentials are parsed in the order listed above. For example, the script will first attempt to use credentials provided via the
--secretarguments. Next, credentials will be loaded from the environment variables. Finally, the config file will be examined for credentials.
Note: Results will be printed to stdout by default.
Export by username:
$ rdio-export --user twaddington
Export by email:
$ rdio-export --email email@example.com
Export to a file:
$ rdio-export --user twaddington > rdio-backup.txt
If you encounter any issues, please open a new issue on the project’s GitHub page.
Copyright 2014 Tristan Waddington Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size python_rdio_export-1.2.0-py2.py3-none-any.whl (15.3 kB)||File type Wheel||Python version 2.7||Upload date||Hashes View hashes|
|Filename, size python-rdio-export-1.2.0.tar.gz (9.4 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for python_rdio_export-1.2.0-py2.py3-none-any.whl