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.

Source Distribution

pybugsnag-0.0.5.tar.gz (7.9 kB view details)

Uploaded Source

File details

Details for the file pybugsnag-0.0.5.tar.gz.

File metadata

  • Download URL: pybugsnag-0.0.5.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for pybugsnag-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2f767db4d35a7da9951799e8d5491486b0eb26bfbc582082264cdf4d61b2d920
MD5 ffa84a41218a2810fe1820ddfcd8b032
BLAKE2b-256 d79b84c2961da701c01973bc20a1fa031ddba261bd02bc6674994b897d17b528

See more details on using hashes here.

Supported by

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