Socket
Socket
Sign inDemoInstall

rss3

Package Overview
Dependencies
3
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rss3

Python library for RSS3


Maintainers
1

Readme

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

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc