QuickbaseNet 1.0.2
dotnet add package QuickbaseNet --version 1.0.2
NuGet\Install-Package QuickbaseNet -Version 1.0.2
<PackageReference Include="QuickbaseNet" Version="1.0.2" />
<PackageVersion Include="QuickbaseNet" Version="1.0.2" />
<PackageReference Include="QuickbaseNet" />
paket add QuickbaseNet --version 1.0.2
#r "nuget: QuickbaseNet, 1.0.2"
#addin nuget:?package=QuickbaseNet&version=1.0.2
#tool nuget:?package=QuickbaseNet&version=1.0.2
QuickbaseNet 🚀 
📋 Overview
QuickbaseNet is a versatile C# library designed to simplify and streamline interactions with the QuickBase API. Tailored for developers looking to efficiently perform CRUD operations and build complex queries, QuickbaseNet offers a set of intuitive tools including QuickBaseCommandBuilder
, QueryBuilder
, and QuickbaseClient
. Whether you're managing database records or crafting detailed queries, QuickbaseNet enhances your experience with QuickBase tables through its fluent and user-friendly interfaces.
✨ Features
- Fluent Interface 🌊: Engage with methods that allow for easy and intuitive construction of various requests.
- Comprehensive CRUD Operations 🛠️: Use
QuickBaseCommandBuilder
to add new records, update existing ones, or delete records with efficiency. - Enhanced Record Management 📈: Improved
RecordBuilder
for more intuitive record modifications and additions. - Advanced Query Support 🔍: Leverage
QueryBuilder
to construct complex query requests effortlessly. - Seamless Client Setup 🌐: Initialize connections with
QuickbaseClient
, providing a secure and straightforward way to interact with the API.
💾 Installation
Get started with QuickbaseNet by installing it via NuGet or cloning the repository:
# Install via NuGet
Install-Package QuickbaseNet
# Or clone the repository
git clone https://github.com/ducksoop/quickbase-net.git
🛠️ Usage
QuickbaseNet simplifies QuickBase API interactions. Below are examples showcasing its main features:
Initializing QuickbaseClient 🌟
// Initialize QuickbaseClient with your realm hostname and user token
var quickbaseClient = new QuickbaseClient("your_realm_hostname", "your_user_token");
Handling API Responses 📬
Inserting Records
// Use QuickBaseCommandBuilder to configure and build an insert request
var insertRequest = new QuickBaseCommandBuilder()
.ForTable("your_table_id")
.ReturnFields(1, 2, 3)
.AddNewRecord(record => record
.AddFields(
(6, "New record description"),
(7, 100),
(9, "2024-02-13"))
)
.BuildInsertUpdateCommand();
// Send the request and handle the response
var result = await quickbaseClient.InsertRecords(insertRequest);
if (result.IsSuccess) {
// Success logic
} else {
// Error handling
}
Updating Records
// Configure and build an update request with QuickBaseCommandBuilder
var updateRequest = new QuickBaseCommandBuilder()
.ForTable("your_table_id")
.ReturnFields(1, 2, 3) // Specify which fields to return after the update operation
.UpdateRecord(8, record => record // Specify the record to update based on its record ID (8 in this example)
.AddField(7, 150) // Update field 7 with a new value
.AddField(9, "2024-02-15")) // Update field 9 with a new value
.BuildInsertUpdateCommand(); .BuildInsertUpdateCommand();
// Send the request and handle the response
var result = await quickbaseClient.UpdateRecords(updateRequest);
if (result.IsSuccess) {
// Success logic
} else {
// Error handling
}
Deleting Records
// Build and send a delete request with QuickBaseCommandBuilder
var deleteRequest = new QuickBaseCommandBuilder()
.ForTable("your_table_id")
.WithDeletionCriteria("{6.EX.'hello'}")
.BuildDeleteCommand();
// Process the response
var result = await quickbaseClient.DeleteRecords(deleteRequest);
if (result.IsSuccess) {
// Success logic
} else {
// Error handling
}
QueryBuilder - Precision in Crafting Queries 🔎
Building and Sending a Query 📤
// Construct a query with QueryBuilder
var query = new QueryBuilder()
.From("bck7gp3q2")
.Select(1, 2, 3)
.Where("{1.CT.'hello'}")
.SortBy(4, "ASC")
.SortBy(5, "ASC")
.GroupBy(6, "equal-values")
.Build();
// Execute the query and process the response
var result = await quickbaseClient.QueryRecords(query);
if (result.IsSuccess) {
// Success logic
} else {
// Error handling
}
👐 Contributing
Contributions are
greatly appreciated and help make the open-source community an amazing place to learn, inspire, and create. Feel free to contribute!
📜 License
Distributed under the MIT License. See LICENSE for more information.
📚 Additional Resources
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.8
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.0
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.1
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
-
net5.0
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.3)
-
net6.0
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.