StackExchangePy API Wrapper
Project description
Installation
>>> pip install stackexchangepy
Documentation
Documentation can be found here.
Example code
>>> from stackexchangepy.client import StackExchangeClient >>> >>> client = StackExchangeClient(access_token='token', key='key') >>> >>> >>> answers, _ = client.answers.all() >>> >>> # do something with answers >>> >>> posts, _ = client.posts.all() >>> >>> # do something with posts >>> >>> posts[0].post_id 1234567 >>> posts[0].score 100 >>> posts[0].type question >>>
Licence
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
stackexchangepy-1.0.0.tar.gz
(19.1 kB
view hashes)