Skip to main content

A python wrapper for the Bugsnag Data Access API

Project description

PyPI version Build Status Coverage Status Code style: black Documentation Status

A python wrapper for the Bugsnag Data Access API

Quick start

Installation

# install
pip install pybugsnag

Basic Usage

from pybugsnag import BugsnagDataClient
from pybugsnag.models import Error

client = BugsnagDataClient("$AUTH_TOKEN")
organization = client.organizations[0]  # first organization for the auth token
project = organization.projects[0]  # first project in the organization
project.get_errors(
    sort=Error.Sort.LAST_SEEN,
    direction=Error.Sort.Direction.DESCENDING,
    per_page=30,
)  # gets errors for this project,
project.get_trend_buckets()  # data for a trend histogram

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybugsnag, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pybugsnag-0.0.5.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page