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
Built Distribution
Hashes for python_rdio_export-1.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6369db148765457a8e197a78dc2fb93fa906c694dcb9afb3f961b0851d69f37 |
|
MD5 | f2644613f50162ab68d02d61be123d37 |
|
BLAKE2b-256 | 8d304e177cc8a43f11623abc38f4d824ab51ebfe210c77ab18e73e48a612c06e |