Skip to main content

StackExchangePy API Wrapper

Project description

https://s7.postimg.cc/k6s2galrf/pylogo.png https://img.shields.io/badge/1.0.0-stackexchangepy-red?style=flat-square

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

GNU

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)

Uploaded Source

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