{"id":20064877,"url":"https://github.com/baidu/baiducloud-sdk-go","last_synced_at":"2025-05-05T18:31:09.482Z","repository":{"id":78582307,"uuid":"156812558","full_name":"baidu/baiducloud-sdk-go","owner":"baidu","description":"Go SDK for Baidu Cloud","archived":false,"fork":false,"pushed_at":"2019-10-22T08:39:03.000Z","size":128,"stargazers_count":23,"open_issues_count":6,"forks_count":8,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-06-19T06:56:32.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baidu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-09T04:59:58.000Z","updated_at":"2023-12-28T12:31:00.000Z","dependencies_parsed_at":"2023-06-17T08:45:41.582Z","dependency_job_id":null,"html_url":"https://github.com/baidu/baiducloud-sdk-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbaiducloud-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbaiducloud-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbaiducloud-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baidu%2Fbaiducloud-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baidu","download_url":"https://codeload.github.com/baidu/baiducloud-sdk-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224459218,"owners_count":17314848,"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-13T13:48:05.187Z","updated_at":"2024-11-13T13:48:05.892Z","avatar_url":"https://github.com/baidu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BaiduCloud SDK for Go\n[![GoDoc](https://godoc.org/github.com/baidu/baiducloud-sdk-go?status.svg)](https://godoc.org/github.com/baidu/baiducloud-sdk-go)\n[![Build Status](https://travis-ci.org/baidu/baiducloud-sdk-go.svg?branch=master)](https://travis-ci.org/baidu/baiducloud-sdk-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/baidu/baiducloud-sdk-go)](https://goreportcard.com/report/github.com/baidu/baiducloud-sdk-go)\n\n\u003e This sdk is still under development and may be changed frequently.\n\nbaiudcloud-sdk-go is the official BaiudCloud SDK for the Go programming language, supporting convenient access to cloud resources, including [Baidu Cloud Compute (BCC)](https://cloud.baidu.com/doc/BCC/ProductDescription.html), [Baidu Load Balancer (BLB)](https://cloud.baidu.com/doc/BLB/ProductDescription.html), [Baidu Object Storage (BOS)](https://cloud.baidu.com/doc/BOS/ProductDescription.html), [Cloud Disk Service (CDS)](https://cloud.baidu.com/doc/CDS/ProductDescription.html), [Elastic IP (EIP)](https://cloud.baidu.com/doc/EIP/ProductDescription.html), [Virtual Private Cloud (VPC)](https://cloud.baidu.com/doc/VPC/ProductDescription.html), etc.\n\n## Installing\n\nGo \u003e= 1.8 is required.\n\n```bash\ngo get -u github.com/baidu/baiducloud-sdk-go/...\n```\n\n## Usage\n\nThis example shows a complete example to list all eips in some region.\n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/baidu/baiducloud-sdk-go/bce\"\n\t\"github.com/baidu/baiducloud-sdk-go/eip\"\n)\n\nfunc main() {\n\tcred, err := bce.NewCredentialsFromFile(\"example/main/aksk.json\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tbceConf := \u0026bce.Config{\n\t\tCredentials: cred,\n\t\tChecksum:    true,\n\t\tTimeout:     5 * time.Second,\n\t\tRegion:      \"bj\",\n\t}\n\n\teipClient := eip.NewEIPClient(bceConf)\n\teipClient.SetDebug(true)\n\teips, err := eipClient.GetEips(nil, nil)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfor idx, ip := range eips {\n\t\tfmt.Printf(\"%d, %s\\n\", idx, ip.Eip)\n\t}\n\treturn\n}\n```\n\n## Contributors\n\n- Guoyao Wu @guoyao\n- Guoyan Chen @drinktee\n- Yuxiao Song\n- Hongbin Mao @hello2mao\n- Yang Meng @m3ngyang\n- Weidong Cai @cwdsuzhou\n\n## License\n\nThis SDK is distributed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaidu%2Fbaiducloud-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaidu%2Fbaiducloud-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaidu%2Fbaiducloud-sdk-go/lists"}