#openstreetmap #location #information #api #connect #string #parser

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

#115 in Geospatial

Download history 6/week @ 2024-07-21 14/week @ 2024-07-28 30/week @ 2024-09-22

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

~7–18MB
~234K SLoC