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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tspapi-0.3.6.tar.gz
.
File metadata
- Download URL: tspapi-0.3.6.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e524e4fabd24348a5a1509cd68b7aa2ace57a3fe7692ff5ce482e4fdc3e67bfc |
|
MD5 | 715be086fd62a9219cb4ef9c3dd2eed9 |
|
BLAKE2b-256 | 903ae9dbb4f200ade636f22b609e126a97664ad2c566d85ddb70d1b373c2132f |