Library for interacting with the MetaSmoke API
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.
Establish a connection to MetaSmoke and retreive some posts that have been marked “Not an answer”
from smokeapi import SmokeAPI 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.