- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/litl/rauth
- 软件文档: http://readthedocs.org/docs/rauth/en/latest/
软件介绍
Rauth 是一个简单的 Python OAuth 1.0/a, OAuth 2.0, 和 Ofly 消费者库,基于 Requests 构建。
特点:
- 支持 OAuth 1.0/a, 2.0 and Ofly
- 常规连接初始化的服务封装
- 认证会话对象提供 keep-alive 支持
- 良好测试 (100% coverage)
- Built on Requests (v1.x)
示例代码:
from rauth import OAuth1Service
# Get a real consumer key & secret from https://dev.twitter.com/apps/new
twitter = OAuth1Service(
name='twitter',
consumer_key='J8MoJG4bQ9gcmGh8H7XhMg',
consumer_secret='7WAscbSy65GmiVOvMU5EBYn5z80fhQkcFWSLMJJu4',
request_token_url='https://api.twitter.com/oauth/request_token',
access_token_url='https://api.twitter.com/oauth/access_token',
authorize_url='https://api.twitter.com/oauth/authorize',
base_url='https://api.twitter.com/1/')
The Four
Scott Galloway / Portfolio / 2017-10-3 / USD 28.00
NEW YORK TIMES BESTSELLER USA TODAY BESTSELLER Amazon, Apple, Facebook, and Google are the four most influential companies on the planet. Just about everyone thinks they know how they got there.......一起来看看 《The Four》 这本书的介绍吧!
图片转BASE64编码
在线图片转Base64编码工具
html转js在线工具
html转js在线工具
