The ApsaraVideo for VOD Go SDK enables you to access ApsaraVideo for VOD without complex programming. This topic describes how to obtain and use the ApsaraVideo for VOD Go SDK.
Go V1.7or later is installed. You can visit the Go official website to download and install an appropriate version.
- Run the following
go getcommand to install the SDK:
go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk
No messages are displayed on the GUI during installation. Wait patiently. If the installation times out, run the command again.
src/github.com/aliyun/alibaba-cloud-sdk-go/services/vodsubdirectory appears in the directory specified by
GOPATH, the SDK is installed successfully.
Run the following
glidecommand to install the SDK:
glide get github.com/aliyun/alibaba-cloud-sdk-go
If new operations or new features of existing operations are unavailable in the current SDK version, you can upgrade the SDK to the latest version. The methods for upgrading the SDK are the same as those described in Install the SDK.
- For more information about the sample code and instructions, see Initialization.