Sentry Patrol offers a CLI (Command Line Interface) to the Sentry API.
The project is still in alpha state and in active development
pipenv install --dev python setup.py develop export SENTRY_API_TOKEN=<your-token>
You have to access the Sentry API Page (https://sentry.io/api/). Then you must log in and get you API Auth Token.
For a list of commands and options, check the help output with: