检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
python语言SDK语言获取和安装推荐使用pip命令进行安装或使用pycharm进行安装,需要安装huaweicloudsdkcore包以及huaweicloudsdkimagesearch,参考方法如下: pip 安装: # 安装核心库 pip install huaweicloudsdkcore
您还可以通过这个视频教程了解如何使用Token认证:https://bbs.huaweicloud.com/videos/101333 。 调用接口步骤 如何调用接口完成Token认证。 发送“POST https://IAM的Endpoint/v3/auth/tokens
登录华为云管理控制台。 鼠标移动至用户名处,在下拉列表中单击“我的凭证”。 选择“访问密钥”页签,单击“新增访问秘钥”按钮。 通过邮箱或者手机进行验证,输入对应的验证码。 单击“确定”,下载认证账号的AK/SK,AK/SK数据会以本地文件的形式保存,请妥善保管。
getenv("HUAWEICLOUD_SDK_SK") iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com" endpoint = "https://mms.cn-north-4.myhuaweicloud.com"
const string iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com"; const string endpoint = "https://mms.cn-north-4.myhuaweicloud
Getenv("HUAWEICLOUD_SDK_SK") iamEndpoint := "https://iam.cn-north-4.myhuaweicloud.com" endpoint := "https://mms.cn-north-4.myhuaweicloud.com"
String iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com"; String endpoint = "https://mms.cn-north-4.myhuaweicloud.com";
getenv("HUAWEICLOUD_SDK_SK") iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com" endpoint = "https://mms.cn-north-4.myhuaweicloud.com"
const string iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com"; const string endpoint = "https://mms.cn-north-4.myhuaweicloud
Getenv("HUAWEICLOUD_SDK_SK") iamEndpoint := "https://iam.cn-north-4.myhuaweicloud.com" endpoint := "https://mms.cn-north-4.myhuaweicloud.com"
String iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com"; String endpoint = "https://mms.cn-north-4.myhuaweicloud.com";
安装SDK(该SDK支持Python3及以上版本)。参考方法如下: pip 安装: # 安装核心库 pip install huaweicloudsdkcore # 安装ImageSearch服务库 pip install huaweicloudsdkimagesearch 在pycharm中,选择“File
getenv("HUAWEICLOUD_SDK_SK") iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com" endpoint = "https://mms.cn-north-4.myhuaweicloud.com"
Getenv("HUAWEICLOUD_SDK_SK") iamEndpoint := "https://iam.cn-north-4.myhuaweicloud.com" endpoint := "https://mms.cn-north-4.myhuaweicloud.com"
const string iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com"; const string endpoint = "https://mms.cn-north-4.myhuaweicloud
String iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com"; String endpoint = "https://mms.cn-north-4.myhuaweicloud.com";
getenv("HUAWEICLOUD_SDK_SK") iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com" endpoint = "https://mms.cn-north-4.myhuaweicloud.com"
const string iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com"; const string endpoint = "https://mms.cn-north-4.myhuaweicloud
Getenv("HUAWEICLOUD_SDK_SK") iamEndpoint := "https://iam.cn-north-4.myhuaweicloud.com" endpoint := "https://mms.cn-north-4.myhuaweicloud.com"
getenv("HUAWEICLOUD_SDK_SK") iamEndpoint = "https://iam.cn-north-4.myhuaweicloud.com" endpoint = "https://mms.cn-north-4.myhuaweicloud.com"