Command Line program to interact with sentry API
Project description
Sentry Patrol offers a CLI (Command Line Interface) to the Sentry API.
The project is still in alpha state and in active development
Setup
pipenv install --dev
python setup.py develop
export SENTRY_API_TOKEN=<your-token>
How to get your sentry API Token
You have to access the Sentry API Page (https://sentry.io/api/). Then you must log in and get you API Auth Token.
How to use
For a list of commands and options, check the help output with:
patrol --help
Events
This command lists events for a given sentry project. It can be used as follows:
patrol events <org-name> <project-name>
This command fetch an event for a given sentry project. It can be used as follows:
patrol event <org-name> <project-name> <event-id>
Issues
This command list issues for a sentry a project. It can be used as follows:
patrol issues <org-name> <project-name>
This command fetch an issue for a sentry a project. It can be used as follows:
patrol issue <issue-id>
This command update an issues status. It can be used as follows:
patrol update_issue_status --status <status> <issue-id>
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
Built Distribution
Hashes for sentry_patrol-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6420ae7ea4e46ec37afa802eecdb6cdac3731739218010d7ec30678d826dbf35 |
|
MD5 | 0d37d226d9861467e3331eb1f1142dbc |
|
BLAKE2b-256 | a6afb9f9940b42658dc8942a29bc7c063954a72021af4b68d6a70fe6268b6c82 |