This is a Python wrapper for the MetaSmoke API.
This library has support for:
Read and (soon) 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:
Connect to MetaSmoke and gather posts that have been marked “Not an answer”
from smokeapi import SmokeAPI
SMOKE = SmokeAPI('your_api_key')
posts = SMOKE.fetch('posts/feedback', type="naa-")
The above, will issue a call to the Posts Feedback. end point on MetaSmoke.
Much more detailed documentation is available on ReadTheDocs.
Metadata
Release files for SmokeAPI 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SmokeAPI-0.2.0.zip | 24.1 kB | Details |
Release files / SmokeAPI-0.2.0.zip
| Download URL | SmokeAPI-0.2.0.zip |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdc479606ea38c4c1bf370dfaf5b70c14c4bbddb4c35554c71b9b9e86ab2679f
|
|
BLAKE2b-256 checksum How to use checksums |
ab298e86eed0adf67cf71b855c16dac16febbe831988aa91c3c7a7922e646c93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |