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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SmokeAPI-0.2.0.zip
(24.1 kB
view details)
File details
Details for the file SmokeAPI-0.2.0.zip.
File metadata
- Download URL: SmokeAPI-0.2.0.zip
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdc479606ea38c4c1bf370dfaf5b70c14c4bbddb4c35554c71b9b9e86ab2679f
|
|
| MD5 |
76678e455f974b425c2e31ca0bf4cf64
|
|
| BLAKE2b-256 |
ab298e86eed0adf67cf71b855c16dac16febbe831988aa91c3c7a7922e646c93
|