Rust SDK
Rust SDK for Spice.ai
The Rust SDK spice-rs
is the easiest way to query Spice.ai from Rust.
It uses Apache Arrow Flight to efficiently stream data to the client and Apache Arrow Records as data frames.
Requirements
Installation
Add Spice SDK
Usage
1. Create a SpiceClient
by passing in your API key to ClientBuilder
. Get your free API key at spice.ai.
2. Execute a query and get back an Apache Arrow Flight Record Batch Stream.
3. Iterate through the reader to access the records.
Usage with local Spice runtime
Follow the quickstart guide to install and run spice locally.
Check Spice OSS documentation to learn more.
Last updated