AppDynamics REST API Library
Project description
Current version: 0.4.22
Introduction
AppDynamicsRESTx is a library that provides a clean Python interface to the REST API of an AppDynamics controller.
AppDynamicsRESTx is developed using Python 2.7.6 on Mac OSX. It is known to work on most Linux distributions and on Windows, with your choice of Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, or 3.8.
Installation
Install via pip:
$ pip install AppDynamicsRESTx
Install from source:
$ git clone https://github.com/homedepot/AppDynamicsRESTx.git $ cd AppDynamicsRESTx $ python setup.py install
Prerequisites
Documentation
The documentation is hosted online at readthedocs.org.
A Quick Example
Here’s a simple example that retrieves a list of business applications from a controller on localhost, and prints them out:
from appd.request import AppDynamicsClient
c = AppDynamicsClient('http://localhost:8090', 'user1', 'password', 'customer1', verbose=True)
for app in c.get_applications():
print app.name, app.id
Testing
If you have cloned the repo, you can run the unit tests from setup.py:
python setup.py test
Or, if you have nose installed, you can use that:
nosetests
For More Information
The main source repo is on Github.
Project details
Release history Release notifications | RSS feed
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 AppDynamicsRESTx-0.4.22.tar.gz
.
File metadata
- Download URL: AppDynamicsRESTx-0.4.22.tar.gz
- Upload date:
- Size: 79.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7541f327d090792cbeb520947dc6da74c86cb70527e4f45a2bc2752df5cfde |
|
MD5 | 7789a7ce6df8868c9067114e3c0ede33 |
|
BLAKE2b-256 | 75ee631dd21a22151a5577b291fb40747bccf2490454e6ec84483ce541c15d85 |