#openstreetmap #string #information #connect #location #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

#71 in Geospatial

Download history 544/week @ 2024-04-25 66/week @ 2024-05-02

610 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

~7–18MB
~266K SLoC