kintone-rs
DISCLAIMER: this OSS is my own personal work and does not have any relationship with Cybozu Inc. or any other organization which I belong to.
WARNING: This library is under development and is likely to undergo incompatible changes in the future.
A client library of Kintone REST APIs for Rust.
Quick Start
use ;
// Create a client
let client = new;
// Get a record
let response = get_record
.send?;
// Print the record
for in response.record.fields
For detailed documentation, installation instructions, and usage examples, please refer to the API documentation.
Middleware Support
kintone-rs supports a middleware system for handling cross-cutting concerns like retries, logging, and authentication. Middleware layers can be easily composed to add functionality to your Kintone client.
Available Middleware
- RetryLayer: Automatically retries failed requests with exponential backoff
- LoggingLayer: Logs HTTP request and response information for debugging
- BasicAuthLayer: Adds HTTP Basic authentication headers for proxy/reverse proxy access
Example: Retry
use Duration;
use ;
use middleware;
let client = new
.layer
.build;
Examples
You can find runnable examples in the examples directory.
The examples require environment variables to be set: