Python library for RSS3
Project description
RSS3
A python version of the reference RSS3 JavaScript SDK, which means the usage should be pretty similar between both.
Installation and usage
Installation
note: There are two versions(0.1.0 and 0.1.1) that correspond to the rss3 version one by one.
If it raises SignatureNotMatchError,you'd better switch to the other version.
pip install rss3==[version]
or
pip install rss3
Usage
To get started right away with defaults:
>>> from rss3 import RSS3, IOptions
>>> options = IOptions(endpoint='https://hub.rss3.io',private_key='your key')
>>> r3 = RSS3(options=options)
>>> import asyncio
# Python 3.7+
>>> asyncio.run(r3.profile.get())
>>> {'tags': ['Python', 'TypeScript', 'Flutter', 'Go', 'Java'],
'name': 'Leetao',
'bio': 'Talk is cheap,show me the code',
'avatar': ['http://q1.qlogo.cn/g?b=qq&nk=501257367&s=5'],
'signature': '...'}
Other Api can be found in RSS3-SDK-for-JavaScript
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rss3-0.1.1.tar.gz
(9.3 kB
view hashes)
Built Distribution
rss3-0.1.1-py3-none-any.whl
(15.2 kB
view hashes)