{"id":18217346,"url":"https://github.com/alsotang/tencentcloud","last_synced_at":"2025-04-07T21:43:49.270Z","repository":{"id":65515371,"uuid":"142980722","full_name":"alsotang/tencentcloud","owner":"alsotang","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-02T05:21:46.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T23:24:30.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alsotang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-31T07:47:47.000Z","updated_at":"2018-10-05T00:57:39.000Z","dependencies_parsed_at":"2023-01-26T21:25:12.733Z","dependency_job_id":null,"html_url":"https://github.com/alsotang/tencentcloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alsotang%2Ftencentcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alsotang%2Ftencentcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alsotang%2Ftencentcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alsotang%2Ftencentcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alsotang","download_url":"https://codeload.github.com/alsotang/tencentcloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737081,"owners_count":20987713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-03T17:04:58.261Z","updated_at":"2025-04-07T21:43:49.249Z","avatar_url":"https://github.com/alsotang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 描述\n\n这是个腾讯云-云API3.0平台的Node.js库。\n\n在官方的库之上做了包装，以更符合js风格的api来进行调用，官方仓库见：\n\nhttps://github.com/TencentCloud/tencentcloud-sdk-nodejs\n\n## 安装 \n\n`npm install tencentcloud`\n\n## 示例\n\n```js\nconst tencentcloud = require('tencentcloud')\n\nasync function main() {\n  let sdk = new tencentcloud({\n    // 必填\n    secretId: 'YOUR_SECRET_ID',\n    secretKey: 'YOUR_SECRET_KEY',\n    serviceType: 'cvm',\n    \n    // 选填\n    region: 'ap-guangzhou', // 不填则默认 `ap-guangzhou`\n    version: 'v20170312', // 不填则默认使用最新version\n  })\n  \n  // https://cloud.tencent.com/document/api/213/15728\n  const response = await sdk.call('DescribeInstances', {\n    Filters: [\n      {\n        Name: \"zone\",\n        Values: [\"ap-guangzhou-1\", \"ap-guangzhou-2\"]\n      },\n    ]\n  })\n  \n  console.log(response)\n}\nmain()\n```\n\n初始化sdk完成后，根据腾讯云的文档来决定要调用的action名称和参数，传入`.call`方法中即可。\n\n腾讯云API中心： https://cloud.tencent.com/document/api\n\n## license\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falsotang%2Ftencentcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falsotang%2Ftencentcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falsotang%2Ftencentcloud/lists"}