Python Environment Manager
Python client library for Environment Manager
tl;dr
Normal use of the Client
em_session = EMApi('server', 'user', 'password')
results = em_session.get_upstreams_config()
For the full list of methods available from the API you can check here