Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Acquia Cloud API client.

Project description

# Python Library for Acquia's Cloud API

This is a python client for using the [Acquia Cloud API](

[![PyPI Version](](
[![Requirements Status](](
[![Coverage Status](](
[![Build Status](](

## Installation

### Installing With pip (recommended)
`pip install acapi`

## Manual Installation
$ git clone acapi
$ cd acapi
$ ./ build && ./ install
## Examples


import acapi

from pprint import pprint

# Acquia subscription name.
subname = 'example'
# Website domain.
domain = ''

# Instantiate client using environment variables.
c = acapi.Client()

# Get the site object.
site =

# Get the environments object.
envs = site.environments()

# Print all environments on a subscription.

# List the SSH host for each environment.
for env in envs:
print "Env: {env} SSH Host: {host}".format(env=env, host=envs[env]['ssh_host'])

# Move a domain from stage to production.

# Backup the development environment database and download the dump file.


This library was created and maintained by [Dave Hall](



Project details

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
acapi-0.8.0-py3-none-any.whl (21.3 kB) Copy SHA256 hash SHA256 Wheel py3
acapi-0.8.0.tar.gz (12.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

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