Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

APImetrics Client

Project description


Command line-callable Python library that makes it easier to call APImetrics’ APIs.

For use with your APImetrics monitoring service. Please sign up at and create an API key at


Create a settings file at /etc/APImetrics or ~/.APImetrics or locally (specify it with the -cfg flag)

Use command apimetrics -a YOUR_API_KEY to save the key.

Command-line usage:

usage: apimetrics [-h] [--apimetrics APIMETRICS] [--config CONFIG]

positional arguments:
                        sub-command help
    auth                auth help
    call                call help
    deployment          deployment help
    report              report help
    token               token help
    workflow            workflow help
    alert               alert help
    notification        notification help

optional arguments:
  -h, --help            show this help message and exit

  APImetrics settings

  --apimetrics APIMETRICS, -a APIMETRICS
                        Set the APImetrics key to use
  --config CONFIG, -cfg CONFIG
                        Set the config file to use
  --simulate, -s        Simulate - don't call the APImetrics API

APImetrics module

You may also write your own scripts - look in the apimetrics/scripts folder for example code.

The example may also be called from the command line, e.g.:
python -m apimetrics.scripts.delete_deployments --name "^z "

This version tested with Python 2.7.6 and 3.5.2

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 APImetrics, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size APImetrics-0.2.2.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page