如何在应用设置中找到跑道应用的项目名称?

How do I get the Podio app item name found in App Settings?

如何在C#中获取这张图片中的App Item名称?

你调查过 Podio API 了吗?

应用程序:获取应用程序

GET /app/{app_id}

获取应用的定义,可以包含配置和字段。此方法将始终 return 应用定义的最新版本。

结果(微结果):

{
  "app_id": The id of the app,
  "name": The name of the app,
  "item_name": The name of each item in an app,
  "icon": The name of the icon used to represent the app
}

您只需使用 HttpClient 发出一个简单的 REST 请求或开始使用 Podio-dotnet NUGET package.

using PodioAPI;

var podio = new Podio(clientId, clientSecret);
podio.AuthenticateWithApp(appId, appSecret);

var application = await podio.ApplicationService.GetApp(appId, "micro");

可以通过 application.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)

如果您需要知道 Application class 有哪些其他字段,请查看其 source.