C# 如何获取在应用程序设置中找到的Podio应用程序项目名称?
如何在C#中获取此图片中的应用程序项名称 你调查过吗 应用程序:获取应用程序C# 如何获取在应用程序设置中找到的Podio应用程序项目名称?,c#,podio,C#,Podio,如何在C#中获取此图片中的应用程序项名称 你调查过吗 应用程序:获取应用程序 GET /app/{app_id} 获取应用程序的定义,可以包括配置和字段。此方法将始终返回应用程序定义的最新版本 结果(微观结果): 您只需使用HttpClient发出一个简单的REST请求,或者开始使用Podio dotnet 可以通过应用程序访问ItemName。ItemName 有关详细信息,这是方法GetApp的签名 /// <summary> /// Gets the definiti
GET /app/{app_id}
获取应用程序的定义,可以包括配置和字段。此方法将始终返回应用程序定义的最新版本
结果(微观结果):
您只需使用HttpClient
发出一个简单的REST请求,或者开始使用Podio dotnet
可以通过应用程序访问ItemName。ItemName
有关详细信息,这是方法GetApp
的签名
/// <summary>
/// Gets the definition of an app and can include configuration and fields.
/// <para>Podio API Reference: https://developers.podio.com/doc/applications/get-app-22349 </para>
/// </summary>
/// <param name="appId"></param>
/// <param name="view">
/// The type of the view of the app requested. Can be either "full", "short", "mini" or "micro". Default
/// value: full
/// </param>
/// <param name="fields">
/// This parameter can be used to include more or less content in responses than the defaults provided by Podio.
/// E.g. space.view(full)
/// </param>
/// <returns></returns>
public async Task<Application> GetApp(int appId, string view = "full", string fields = null)
//
///获取应用程序的定义,可以包括配置和字段。
///Podio API参考:https://developers.podio.com/doc/applications/get-app-22349
///
///
///
///请求的应用程序视图的类型。可以是“全”、“短”、“小”或“微”。违约
///价值:全部
///
///
///与Podio提供的默认值相比,此参数可用于在响应中包含更多或更少的内容。
///例如,空间视图(完整)
///
///
公共异步任务。谢谢!我一直关注项目级别而不是应用程序。
using PodioAPI;
var podio = new Podio(clientId, clientSecret);
podio.AuthenticateWithApp(appId, appSecret);
var application = await podio.ApplicationService.GetApp(appId, "micro");
/// <summary>
/// Gets the definition of an app and can include configuration and fields.
/// <para>Podio API Reference: https://developers.podio.com/doc/applications/get-app-22349 </para>
/// </summary>
/// <param name="appId"></param>
/// <param name="view">
/// The type of the view of the app requested. Can be either "full", "short", "mini" or "micro". Default
/// value: full
/// </param>
/// <param name="fields">
/// This parameter can be used to include more or less content in responses than the defaults provided by Podio.
/// E.g. space.view(full)
/// </param>
/// <returns></returns>
public async Task<Application> GetApp(int appId, string view = "full", string fields = null)