Skip to main content

Library for interacting with the MetaSmoke API

Project description

This is a Python wrapper for the MetaSmoke API.

Build Status Documentation Status

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.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page