Giter VIP home page Giter VIP logo

rss3-sdk-for-python's Introduction

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

rss3-sdk-for-python's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.