ARMS provides SDKs for Java, Python, and PHP. This topic explains how to install the SDKs.

Install Java SDK

To install ARMS Java SDK, add the Maven dependency to the pom.xml file.

<dependencies>
    <dependency>
       <groupId>com.aliyun</groupId>
       <artifactId>aliyun-java-sdk-arms</artifactId>
       <version>2.2.0</version>
    </dependency>
    <dependency>
        <groupId>com.aliyun</groupId>
        <artifactId>aliyun-java-sdk-core</artifactId>
        <version>3.5.0</version>
    </dependency>
</dependencies>

Install Python SDK

To install ARMS Python SDK, run the following command:

pip install aliyun-python-sdk-arms

Install PHP SDK

Follow these steps to install PHP SDK.

  1. Run the following command to clone the PHP SDK to your local directory aliyun-openapi-php-sdk.
    git clone https://github.com/aliyun/aliyun-openapi-php-sdk
  2. Copy folders aliyun-php-sdk-arms and aliyun-php-sdk-core under aliyun-openapi-php-sdk to your PHP project directory. The directory structure is as follows:
    PHP Directory