Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Examples of Quickbase API in C#

Tags:

c#

quickbase

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.

like image 302
N. Mao Avatar asked Oct 20 '25 02:10

N. Mao


1 Answers

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();
        }
    }
}

There is also a QuickBase API Wrapper example as well.

like image 192
Robert Greiner Avatar answered Oct 21 '25 17:10

Robert Greiner



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!