Hello,
I am migrating a legacy app from Python, where I use a lot of features from Google Maps API.
(https://github.com/googlemaps/google-maps-services-python)
Is there such client library available for Rust ?
Cheers
Hello,
I am migrating a legacy app from Python, where I use a lot of features from Google Maps API.
(https://github.com/googlemaps/google-maps-services-python)
Is there such client library available for Rust ?
Cheers
Your best bet is to search crates.io. There are some crates for Google Maps API.
If none of them are a good fit for you, you may want to implement your own client using some generic HTTP library and probably serde for JSON. Existing crates for other APIs may be a good example to follow.
If the API is documented in OpenAPI/Swagger, you can generate the Rust API client using OpenAPI Generator with just one command, e.g.
java -jar openapi-generator-cli.jar generate -g rust -i /tmp/spec_file.yaml -o /tmp/rust_clilent/