Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AliyunOpenApiSdk

AliyunOpenApiSdk V3

This SDK is packaged according to Alibaba Cloud APIs in the remote procedure call (RPC) style

It can simple call to all of Alibaba Cloud product api

Get Stand

Change file config/test.demo to config/test.exs .
Change file config/dev.demo to config/dev.exs .

Remember to set your ALI_YUN_REGIONS, ALIYUN_ACCESS_KEY and ALI_YUN_ACCESS_SECRET.

mix aliyun --namespace=<Product Code> && mix format mix.exs "lib/**/*.{ex,exs}"

Example

mix aliyun --namespace=CloudAPI && mix format mix.exs "lib/**/*.{ex,exs}"

You can see the all of the product in the Products.md

Quick Start

Get Gateway Api Groups (CloudAPI)

alias AliyunOpenApiSdk.CloudAPI

CloudAPI.DescribeApiGroups.request(%{})

Create A Gateway Api App (CloudAPI)

alias AliyunOpenApiSdk.CloudAPI

CloudAPI.CreateApp.request(%{
  AppName: "SingSing", 
  Description: "test",
  Tag: [%{"test1" => "test1"}, %{"test2" => "test2"}]
})

API Documentation

Click into the corresponding module for detailed documentation about parameters, required fields, and data types. Each API module has documentation embedded within it.

I originally planned to include the URL linking to the corresponding detailed documentation page, but there is an issue with Alibaba Cloud metadata that prevents me from retrieving it. I will figure out a solution to handle this later.

Installation

If available in Hex, the package can be installed by adding aliyun_open_api_sdk to your list of dependencies in mix.exs:

def deps do
  [
    {:aliyun_open_api_sdk, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/aliyun_open_api_sdk.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages