A minimal wrapper for the Base Adresse Nationale "BAN" french geo API.
This crate provides functions to query geographical address information from the Base Adresse Nationale API.
Features
- Forward geocoding: convert address strings into coordinates
- Reverse geocoding: convert coordinates into address details
Example
use ;
let address_result = get_address_info.unwrap;
let reverse_result = get_reverse_info.unwrap;
Errors
Errors are returned as a custom Error enum to distinguish between HTTP,
text extraction, and JSON deserialization failures.