Skip to main content

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


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 details)

Uploaded Source

Built Distribution

rss3-0.1.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file rss3-0.1.1.tar.gz.

File metadata

  • Download URL: rss3-0.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for rss3-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4601b38802871cbed65061b430e74e1921681da9fabaead69e3ef53565818934
MD5 92d91c77fd889af391c37260dd79023d
BLAKE2b-256 1af727fcc288e4fc97e34e2d57a8cf629ba7f1a0645220f4040e4c53fac57537

See more details on using hashes here.

File details

Details for the file rss3-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rss3-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for rss3-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c52ac7bd7b5a305b33021cf7852951108ae5bb29bd358907e1ff4d752fbe4cd
MD5 b7395b2a78dbd516b8c7e68a5ad8fafa
BLAKE2b-256 c12aeb09a3e74ac33f89dc79e17357111437b886917dbe26138c904e72c55308

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page