Dotnet SDK
Dotnet SDK for Spice.ai
The Dotnet SDK spiceai
is the easiest way to query Spice.ai from Dotnet.
It uses Apache Arrow Flight to efficiently stream data to the client and Apache Arrow Records as data frames.
Requirements
.Net 6.0+ or .Net Standard 2.0+
Installation
Add Spice SDK
Usage
Create a
SpiceClient
by providing your API key toSpiceClientBuilder
. Get your free API key at Spice.ai.
Execute a query and get back an Apache Arrow Flight Client Record Batch Stream Reader.
Iterate through the reader to access the records.
Usage with local Spice runtime
Follow the quickstart guide to install and run spice locally.
Contributing
Contribute to or file an issue with the spice-dotnet
library at: https://github.com/spiceai/spice-dotnet
Last updated
Was this helpful?