A python wrapper for the StackExchange API
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Bump version: 0.1.11 → 0.1.12 Jan 18, 2019
stackapi Minor Doc updates Jan 18, 2019
tests Adds test to check that missing endpoint fails correctly Mar 5, 2016
.gitignore Ignores PyCharm directories Feb 29, 2016
.travis.yml Remove build status badge. Jan 18, 2019
AUTHORS.rst Minor documentation changes on how to run tests Mar 11, 2016
LICENSE.txt Adjusts copyright to include "and contributors" Mar 10, 2016
README.rst
fabfile.py Need to re on a string for py3 Jan 18, 2019
setup.cfg
setup.py Bump version: 0.1.11 → 0.1.12 Jan 18, 2019

README.rst

This is a Python wrappers for the Stack Exchange API. This library supports Stack Exchange API v2.2.

Documentation Status

This library has support for:

  • The Stack Exchange backoff parameter. It will automatically force a delay to match the parameter.
  • Read and write functionality via the API.
  • Can retrieve multiple pages of results with a single call and merges all the results into a single response.
  • Throws exceptions returned by the API for easier troubleshooting.
  • Utilizes Requests.

Example usage:

Establish a connection to Stack Overflow and gather some comments

from stackapi import StackAPI
SITE = StackAPI('stackoverflow')
comments = SITE.fetch('comments')

The above, will issue a call to the comments. end point on Stack Overflow.

Much more detailed documentation is available on ReadTheDocs.