在C#Quickbase API的例子 [英] Examples of Quickbase API in C#

查看:151
本文介绍了在C#Quickbase API的例子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是相当新的使用的API,并没有触及Quickbase直到今天。我研究了Quickbase API,它仿佛我看到的所有例子都写在XML或一些类似的变种。有没有用C#code,会做,我看到可以在Quickbase网站的API文档上完成同样的事情的方法吗?如果您知道任何code的例子,请让我知道。

I am fairly new to the use of APIs and haven't touched Quickbase until today. I was researching the Quickbase API and it seemed as if all the examples I saw were written in XML or some similar variant. Is there a way to write code in C# that will do the same things that I saw could be done on the Quickbase website's API documentation? If you know of any code examples, please let me know.

推荐答案

有一个 QuickBase C#SDK ,可以帮助你开始。

There is a QuickBase C# SDK that might help get you started.

using System;
using Intuit.QuickBase.Client;

namespace MyProgram.QB.Interaction
{
    class MyApplication
    {
        static void Main(string[] args)
        {
            var client = QuickBase.Client.QuickBase.Login("your_QB_username", "your_QB_password");
            var application = client.Connect("your_app_dbid", "your_app_token");
            var table = application.GetTable("your_table_dbid");
            table.Query();

            foreach(var record in table.Records)
            {
               Console.WriteLine(record["your_column_heading"]);
            }
            client.Logout();
        }
    }
}

还有一个 QuickBase API包装的例子也是如此。

这篇关于在C#Quickbase API的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆