viewing revision from 3 years ago

WIKI TOOLS

-

index

viewhistorytalk

RSAW

RSAW is a really light API wrapper, created for this here website. I (/u/diogenesjunior) created it because Saidit didn't have a Python API wrapper, and I personally needed to use Saidit programatically.

Installation

Installing RSAW is easy, assuming you have pip3 installed:

pip3 install RSAW

You can then start using the API wrapper. I suggest you at least learn some Python first. Here's a small rundown of how you'd use it:

from rsaw import saidit

saidit = saidit(client_id='client_id',
                client_secret='client_secret',
                username='username',
                password='password',
                app='our_app',
                token_file='/tmp/token')
me = saidit.get('/api/v1/me')
print(me)


revision by [deleted]— view source