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.
Metadata
Release files for StackAPI 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| stackapi-0.3.1.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| StackAPI-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / stackapi-0.3.1.tar.gz
| Download URL | stackapi-0.3.1.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bcb0a40275a69f737f1d824f9712ccec73bc8b46f06720ebb722f3c561ad6b0
|
|
BLAKE2b-256 checksum How to use checksums |
a6d8cc0ba62d4722f4c113c6e39205fa49f858f926999f634da47b4d1044dfcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / StackAPI-0.3.1-py3-none-any.whl
| Download URL | StackAPI-0.3.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd60fdd5cdaa1767967a27dbaeb6fa3bbb297d3d457ffed2e4087bddf792843b
|
|
BLAKE2b-256 checksum How to use checksums |
91088e850718fa5127a54eb049ae4e963164c126081bf5193ddeac4e589c7d5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for StackAPI 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.