Bugsnag 数据访问 API 的 Python 封装器
项目描述
Bugsnag 数据访问 API 的 Python 封装器
快速开始
安装
# install
pip install pybugsnag
基本用法
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
关闭
pybugsnag-0.0.5.tar.gz 的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 2f767db4d35a7da9951799e8d5491486b0eb26bfbc582082264cdf4d61b2d920 |
|
MD5 | ffa84a41218a2810fe1820ddfcd8b032 |
|
BLAKE2b-256 | d79b84c2961da701c01973bc20a1fa031ddba261bd02bc6674994b897d17b528 |