Crate kenall_rs[−][src]
kenall-rs: A command line tool of Kenall.
Kenall is a efficient service for searching japanese address from postal code and making complexity simple and straightforward. This is an unofficial cli tool for the service.
If you want to check the detail of the API, please check the official document
Getting Started
First, you need to (signup)[https://kenall.jp/signup] to Kenall and get an API key.
Once you have an API key, please write your API key into .env
file.
You can create the .env
file by copying .env.example
file.
$ cp example.env .env
$ vi .env
Usage
Please enter valid japanese post number and you will get the address.
kenall-rs 100-0001
or
kenall-rs 100-0001
Re-exports
pub use crate::api::fetch_address; |
pub use crate::cli::run; |
pub use crate::errors::KenallError; |
pub use crate::model::PostalCodeResponse; |
pub use crate::ui::Ui; |
Modules
api | Handle API connection. |
cli | |
errors | Custom errors. |
model | Data structure for postal parcel record. |
ui |