Install MPS SDK for Go

更新时间:
复制 MD 格式

Learn about the environment requirements for ApsaraVideo Media Processing (MPS) SDK for Go V2.0 and how to install and update the SDK.

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 API operations are unavailable in your current SDK version, update to the latest version. The update method is similar to the installation method. For more information, see the Install the SDK section of this topic.

What to do next

After the SDK is installed, initialize it by using an AccessKey pair or a Security Token Service (STS) token. For more information, see Initialize a client.