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.3.
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.
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
Built Distribution
File details
Details for the file stackapi-0.3.1.tar.gz
.
File metadata
- Download URL: stackapi-0.3.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bcb0a40275a69f737f1d824f9712ccec73bc8b46f06720ebb722f3c561ad6b0 |
|
MD5 | 4843ffa1cb7da4bcd93f29d7deb2af0f |
|
BLAKE2b-256 | a6d8cc0ba62d4722f4c113c6e39205fa49f858f926999f634da47b4d1044dfcd |
File details
Details for the file StackAPI-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: StackAPI-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd60fdd5cdaa1767967a27dbaeb6fa3bbb297d3d457ffed2e4087bddf792843b |
|
MD5 | 3f80a613ef20c73a99ce17e5fcc280d2 |
|
BLAKE2b-256 | 91088e850718fa5127a54eb049ae4e963164c126081bf5193ddeac4e589c7d5b |