Expand description
boj-client is a Rust client for the Bank of Japan time-series statistics API.
This crate provides:
- request builders for each BOJ endpoint under
query, - a synchronous API client under
client, - strongly-typed response models under
model, - shared error definitions under
error.
Internal transport/decoder details are intentionally hidden from the
external API surface. The recommended starting point is client::BojClient.
ⓘ
use boj_client::decode::decode_code;
use boj_client::retry::should_retry;
use boj_client::transport::ReqwestTransport;