{"id":18559011,"url":"https://github.com/linux-china/aliyun-openapi-rust-sdk","last_synced_at":"2025-04-10T02:30:35.690Z","repository":{"id":47554072,"uuid":"314739048","full_name":"linux-china/aliyun-openapi-rust-sdk","owner":"linux-china","description":"Aliyun OpenAPI SDK for Rust","archived":false,"fork":false,"pushed_at":"2021-10-17T21:00:57.000Z","size":51,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T02:51:07.278Z","etag":null,"topics":["aliyun","aliyun-openapi-sdk","openapi","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/crate/aliyun-openapi","language":"Rust","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/linux-china.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}},"created_at":"2020-11-21T05:17:51.000Z","updated_at":"2025-01-31T05:39:18.000Z","dependencies_parsed_at":"2022-08-27T20:02:28.781Z","dependency_job_id":null,"html_url":"https://github.com/linux-china/aliyun-openapi-rust-sdk","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Faliyun-openapi-rust-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Faliyun-openapi-rust-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Faliyun-openapi-rust-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Faliyun-openapi-rust-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linux-china","download_url":"https://codeload.github.com/linux-china/aliyun-openapi-rust-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144155,"owners_count":21054876,"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":["aliyun","aliyun-openapi-sdk","openapi","rust"],"created_at":"2024-11-06T21:41:50.573Z","updated_at":"2025-04-10T02:30:35.372Z","avatar_url":"https://github.com/linux-china.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://cn.aliyun.com/\"\u003e\n      \u003cimg src=\"https://docs.alibabagroup.com/assets2/images/en/news/library_logos_aliyun_large.png\"\u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eAlibaba Cloud OpenAPI SDK for Rust\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/linux-china/aliyun-openapi-rust-sdk/actions\"\u003e\n    \u003cimg alt=\"Github Actions\" src=\"https://img.shields.io/github/workflow/status/linux-china/aliyun-openapi-rust-sdk/Rust\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/aliyun-openapi\"\u003e\n    \u003cimg alt=\"Crate\" src=\"https://img.shields.io/crates/v/aliyun-openapi\"\u003e\n  \u003c/a\u003e\n\n\u003c/p\u003e\n\nThe Alibaba Cloud SDK for Rust allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Object Storage Service(OSS), Direct Mail (DM) etc.  \nYou can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.\n\n# How to start?\nPlease install aliyun command line from https://github.com/aliyun/aliyun-cli first, then config the credential info with following command:\n\n```\n$ aliyun configure\n```\n\n# OSS example\n\n```rust\nuse aliyun_openapi::prelude::*;\nuse std::str::from_utf8;\nuse bytes::Bytes;\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let endpoint = \"oss-cn-hangzhou.aliyuncs.com\";\n    let ref http_client = reqwest::Client::new();\n    let oss = OSS { endpoint, http_client };\n    let bytes: Bytes = oss.get_object(\"eren-assets\", \"hello.txt\").await?;\n    print!(\"object: {}\", from_utf8(bytes.as_ref()).unwrap());\n    Ok(())\n}\n```\n\n# References\n\n* Alibaba Cloud: https://us.alibabacloud.com/\n* Aliyun OpenAPI Explorer: https://api.aliyun.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Faliyun-openapi-rust-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinux-china%2Faliyun-openapi-rust-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Faliyun-openapi-rust-sdk/lists"}