Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Library for interacting with the Stack Exchange API

Project Description

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

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.

Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
StackAPI-0.1.9-py2.7.egg (10.4 kB) Copy SHA256 Checksum SHA256 2.7 Egg Aug 23, 2017
StackAPI-0.1.9-py3.3.egg (10.6 kB) Copy SHA256 Checksum SHA256 3.3 Egg Aug 23, 2017
StackAPI-0.1.9-py3.4.egg (10.6 kB) Copy SHA256 Checksum SHA256 3.4 Egg Aug 23, 2017
StackAPI-0.1.9-py3.5.egg (10.5 kB) Copy SHA256 Checksum SHA256 3.5 Egg Aug 23, 2017
StackAPI-0.1.9.tar.gz (5.5 kB) Copy SHA256 Checksum SHA256 Source Aug 23, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting