Current version: 0.4.5 Released: 23-Jun-2015
AppDynamicsREST is a library that provides a clean Python interface to the REST API of an AppDynamics controller.
AppDynamicsREST 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, or 3.4.
Install via pip
:
$ pip install AppDynamicsREST
Install from source:
$ git clone git://github.com/tradel/AppDynamicsREST.git $ cd AppDynamicsREST $ python setup.py install
The documentation is hosted online at readthedocs.org.
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
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
The main source repo is on Github.
To ask a question or join the discussion, visit the AppDynamics Community page.