All Products
Search
Document Center

ApsaraVideo Media Processing:Install MPS SDK for Go

Last Updated:Nov 15, 2024

This topic describes the environment requirements for installing ApsaraVideo Media Processing (MPS) SDK for Go V2.0 and how to install and update MPS SDK for Go V2.0.

Prerequisites

MPS is activated. For more information, see Activate MPS.

Environment requirements

  • Go 1.10.x or later is used.

  • The core library of Alibaba Cloud SDK for Go is installed.

Install the SDK

Run the go get command to install MPS SDK for Go V2.0.

  • Sample code:

    go get github.com/alibabacloud-go/mts-20140618/v6

Update the SDK

If new features or new API operations are unavailable in the current SDK, update the SDK to the latest version. The method for updating the SDK is similar to that for installing the SDK. For more information, see the Install the SDK section of this topic.

What to do next

After the SDK for Go is installed, you need to initialize the SDK. You can initialize the SDK for Go by using an AccessKey pair or a Security Token Service (STS) token. For more information, see Initialize a client.