| Crates.io | socrata-sdk |
| lib.rs | socrata-sdk |
| version | 0.1.0 |
| created_at | 2026-01-17 15:13:14.345092+00 |
| updated_at | 2026-01-17 15:13:14.345092+00 |
| description | A Rust client for the Socrata Open Data API (SODA) |
| homepage | https://github.com/iberi22/socrata-rs |
| repository | https://github.com/iberi22/socrata-rs |
| max_upload_size | |
| id | 2050610 |
| size | 51,742 |
A high-performance, asynchronous Rust client for the Socrata Open Data API (SODA).
reqwest and tokio.serde::Deserialize.use socrata_sdk::SocrataClient;
use serde::Deserialize;
#[derive(Deserialize, Debug)]
struct MyData {
id: String,
// ...
}
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let client = SocrataClient::new("https://www.datos.gov.co", Some("MY_APP_TOKEN".to_string()));
let results: Vec<MyData> = client.fetch("abcd-1234", 10, 0, None, None).await?;
println!("{:?}", results);
Ok(())
}
MIT