Module kenall_rs::api [−][src]
Handle API connection.
An official
Kenall API has single endpoint that return an address from postal code.
GET /postalcode/:postal_code
.
Postal codes in Japan are 7-digit numeric codes using the format NNN-NNNN and
kenall-rs
accpet the codes in 2 ways.
NNNNNNN and NNN-NNNN
Example
kenall-rs 100-0005
kenall-rs 1000005
Functions
fetch_address |