用于导出RDIO集合的命令行实用程序。

python-rdio-export的Python项目详细描述


https://img.shields.io/pypi/dm/python-rdio-export.svg

此导出器可用于备份RDIO用户的集合。它 包括命令行实用程序脚本和用于绑定到 你自己的申请。命令行实用程序将输出结果 默认为标准输出。

如果你喜欢这个图书馆,而且它节省了你一些时间,请考虑 以Gittip donation支持进一步的开发!

要求

  • 请求
  • 请求

安装

$ pip install python-rdio-export

身份验证

您需要从Rdio developer site获取api凭据。

使用命令行实用程序时,可以使用rdio进行身份验证 三种方法之一。

首先,通过向命令行实用程序提供凭据 直接:

$ rdio-export --user twaddington --id your_client_id --secret your_client_secret

您还可以(可选)通过两个环境提供rdio凭据 变量:

$ export RDIO_CLIENT_ID=your_client_id
$ export RDIO_CLIENT_SECRET=your_client_secret

还可以(可选)通过全局配置提供rdio凭据 文件位于~/.rdioconfig中,格式为:

[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 --id and --secret arguments. 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.

按用户名导出:

$ rdio-export --user twaddington

通过电子邮件导出:

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

导出到文件:

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

错误报告

如果您遇到任何问题,请在项目的 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.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java广播接收器未检测到按键事件   java不为特定列更改创建修订   java采用了更实用的方法   java桌面窗格HTML呈现   java处理internet连接丢失   java在调整JFrame的大小时,如何防止JTable的列调整大小?   如何用Java中的“Scanner.hasNext”完成程序   具有模块名称的java停止IntelliJ项目工具窗口?   执行已编译的Rails-Warbler JAR文件时发生java加载错误   java Spring数据redis存储库不支持集合查询?   每个客户端的java队列请求   获取Java中的JSON嵌套数组元素   java GWT,Vaadin ConcurrentModificationException   firebase存储中的java在保存照片之前,我需要发送两次照片   JavaSpringEleaf如何在容器外使用变量