#openstreetmap #information #location #string #connect #api #address

geogetter

simple library that connects to the OpenStreetMap API to retrive all the information about the given string

9 releases

0.1.8 Apr 29, 2024
0.1.7 Apr 29, 2024

#106 in Geospatial

Download history 1/week @ 2024-05-25 6/week @ 2024-07-20 14/week @ 2024-07-27

72 downloads per month

MIT/Apache

10KB
133 lines

Geogetter

Geogetter is a simple Rust library that connects to the OpenStreetMap API to retrieve all the information about a given location string.

Features

  • Asynchronously retrieves location data from OpenStreetMap based on the input string.
  • Parses the response from the OpenStreetMap API into structured Rust types.
  • Provides structs to represent address and location information.
  • Includes comprehensive test coverage.

Usage

Add the geogetter crate to your Cargo.toml file:

[dependencies]
geogetter = "0.1.8"

or

  • cargo add geogetter

lib.rs:

geogetter

geogetter is a simple library that connects to the OpenStreetMap API to retrive all the information about the given string

Dependencies

~6–17MB
~235K SLoC