Crates.io | api-adresse-rs |
lib.rs | api-adresse-rs |
version | 0.1.1 |
source | src |
created_at | 2020-11-29 15:56:05.987982 |
updated_at | 2020-11-29 16:15:15.186537 |
description | A library to consume https://api.gouv.fr/les-api/base-adresse-nationale from french gouvernement |
homepage | |
repository | |
max_upload_size | |
id | 317796 |
size | 5,041 |
A library written in Rust for consume api https://api.gouv.fr/les-api/base-adresse-nationale from french gouvernement
use api_adresse_rs::get_address_info;
fn main() {
let result = get_address_info("140 Av. des Champs-Élysées").unwrap();
println!("{:?}", result.features[0]);
}