Skip to main content

Python Bindings for the TrueSight Pulse REST APIs

Project description

BMC TRUESIGHT PULSE API FOR PYTHON

TrueSight Pulse API for Python provides bindings for the python language

Visit http://boundary.github.io/pulse-api-python for documentation.

[Build Status]

© Copyright 2005-2016 BMC Software, Inc. Use of this software signifies your acceptance of BMC’s Terms of Use, Privacy Policy and Cookie Notice. BMC, BMC Software, the BMC logos, and other BMC marks are trademarks or registered trademarks of BMC Software, Inc. in the U.S. and/or certain other countries.

Installing

$ pip install tspapi

Examples

Create a Metric

import tspapi from datetime import datetime

# The following assumes the following environment variables are set # export TSP_EMAIL=’joe@example.com’ # export TSP_API_TOKEN=<your api token> api = tspapi.API()

api.measurement_create(metric=’MY_METRIC’, source=’MySource’, value=3.14, timestamp=datetime.now())

Create a Measurement

import tspapi

# The following assumes the following environment variables are set # export TSP_EMAIL=’joe@example.com’ # export TSP_API_TOKEN=<your api token> api = tspapi.API()

metric = api.measurement_create(metric=’MY_METRIC’, source=’MySource’, value=3.14)

Project details


Release history Release notifications

This version
History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tspapi-0.3.6.tar.gz (9.1 kB) Copy SHA256 hash SHA256 Source None Aug 14, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page