api-client-net:用于内部ServerFlex平台的.NET API客户端

时间:2021-04-11 04:40:17
【文件属性】:
文件名称:api-client-net:用于内部ServerFlex平台的.NET API客户端
文件大小:339KB
文件格式:ZIP
更新时间:2021-04-11 04:40:17
C# api-client-net ServerFlex平台的.NET API客户端。 入门 使用ServerFlex API需要API密钥。 转到以生成一个。 添加对ServerFlex.API的引用。 用法 创建ServerFlex API客户端 // Parameterless constructor. ApiClient apiClient = new ApiClient(); // Create an API client with a custom base URI. ApiClient apiClient = new ApiClient(new Uri("custom_base_uri")); 添加身份验证 apiClient.Authentication = new ApiKeyAuthentication { ApiKey = "your_api_key" }; 发
【文件预览】:
api-client-net-master
----Examples()
--------Example.ServerDeployment()
--------Example.ServerPlayers()
----src()
--------ServerFlex.API()
----README.md(2KB)
----.gitignore(5KB)
----ServerFlex.API.sln(2KB)

网友评论