{"id":30996902,"url":"https://github.com/yunify/qingcloud-sdk-java","last_synced_at":"2025-09-12T22:17:20.928Z","repository":{"id":45290324,"uuid":"116383337","full_name":"yunify/qingcloud-sdk-java","owner":"yunify","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-05T22:18:30.000Z","size":439,"stargazers_count":12,"open_issues_count":6,"forks_count":14,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-07-10T14:47:16.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/yunify.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,"governance":null}},"created_at":"2018-01-05T12:34:31.000Z","updated_at":"2022-08-26T06:14:25.000Z","dependencies_parsed_at":"2023-01-22T10:31:05.540Z","dependency_job_id":null,"html_url":"https://github.com/yunify/qingcloud-sdk-java","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/yunify/qingcloud-sdk-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-sdk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-sdk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-sdk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-sdk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yunify","download_url":"https://codeload.github.com/yunify/qingcloud-sdk-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-sdk-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274885850,"owners_count":25368223,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-09-12T22:17:19.297Z","updated_at":"2025-09-12T22:17:20.911Z","avatar_url":"https://github.com/yunify.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QingCloud SDK for Java\n\n\n\nThe official QingCloud SDK for the Java programming language.\n\n## Getting Started\n\n### Preparation\n\nBefore your start, please login to [QingCloud Console](https://console.qingcloud.com/access_keys/) to create a pair of QingCloud API AccessKey.\n\n___API AccessKey Example:___\n\n``` yaml\nqy_access_key_id: QYACCESSKEYIDEXAMPLE\nqy_secret_access_key: SECRETACCESSKEY\n```\n\n### Installation\n\nAdd below dependency in your pom file\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.qingcloud\u003c/groupId\u003e\n    \u003cartifactId\u003eqingcloud-sdk-java\u003c/artifactId\u003e\n    \u003cversion\u003e1.2.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nFor more information, please refer to [maven page](https://search.maven.org/#artifactdetails%7Ccom.qingcloud%7Cqingcloud-sdk-java%7C1.0.0%7Cjar)\n\n### Usage\n\nNow you are ready to code. You can read the detailed guides in the list below to have a clear understanding.\n\n*Quick start code example*\n\n```java\npublic class InstanceTest {\n    private static Logger logger = LoggerFactory.getLogger(InstanceTest.class);\n\n    @Test\n    public void testDescribeInstances() {\n        EnvContext context = new EnvContext(\"ACCESS_KEY_ID_EXAMPLE\", \"SECRET_ACCESS_KEY_EXAMPLE\");\n        context.setProtocol(\"https\");\n        context.setHost(\"api.qingcloud.com\");\n        context.setPort(\"443\");\n        context.setZone(\"pek3b\");\n        context.setApiLang(\"zh-cn\"); // optional, set return message i18n, default to us-en\n        InstanceService service = new InstanceService(context);\n\n        InstanceService.DescribeInstancesInput input = new InstanceService.DescribeInstancesInput();\n        input.setLimit(1);\n\n        try {\n            InstanceService.DescribeInstancesOutput output = service.describeInstances(input);\n            for (Types.InstanceModel model : output.getInstanceSet()) {\n                System.out.println(\"==================\");\n                System.out.println(model.getInstanceID());\n                System.out.println(model.getInstanceName());\n                System.out.println(model.getImage().getImageID());\n                for (Types.NICVxNetModel vxNetModel : model.getVxNets()) {\n                    System.out.println(\"==================\");\n                    System.out.println(vxNetModel.getVxNetID());\n                    System.out.println(vxNetModel.getVxNetType());\n                }\n            }\n        } catch (QCException e) {\n            e.printStackTrace();\n        }\n    }\n}\n```\n\n\n- [Configuration Guide](docs/configuration.md)\n- [QingCloud Service Usage Guide](docs/qingcloud_service_usage.md)\n\nCheckout our [releases](https://github.com/yunify/qingcloud-sdk-java/releases) and [change logs](https://github.com/yunify/qingcloud-sdk-java/blob/master/CHANGELOGS) for information about the latest features, bug fixes and new ideas.\n\n## Reference Documentations\n\n- [QingCloud Documentation Overview](https://docs.qingcloud.com)\n- [QingCloud IaaS APIs](https://docs.qingcloud.com/product/api/)\n\n## Contributing\n\nThis repository was automatically generated, please contribute to [`Snips`](https://github.com/yunify/snips) instead.\n\n## LICENSE\n\nThe Apache License (Version 2.0, January 2004).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunify%2Fqingcloud-sdk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyunify%2Fqingcloud-sdk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunify%2Fqingcloud-sdk-java/lists"}