#google

google-geocode

An API client for the Google Geocoding API

6 releases

0.1.5 May 6, 2021
0.1.4 May 6, 2021
0.1.2 Jan 19, 2021
0.1.1 Dec 31, 2020

#77 in Geospatial

Download history 366/week @ 2023-07-19 548/week @ 2023-07-26 391/week @ 2023-08-02 505/week @ 2023-08-09 560/week @ 2023-08-16 381/week @ 2023-08-23 149/week @ 2023-08-30 284/week @ 2023-09-06 297/week @ 2023-09-13 405/week @ 2023-09-20 409/week @ 2023-09-27 289/week @ 2023-10-04 225/week @ 2023-10-11 504/week @ 2023-10-18 350/week @ 2023-10-25 363/week @ 2023-11-01

1,516 downloads per month

Apache-2.0

34KB
775 lines

cio

cargo-build cargo-clippy cargo-test rustfmt cloud-run

Helper functions and types for doing the activities of a CIO.

Configuration

Runtime Flags

Specific runtime behaviors can be controlled via environment variables. Flags are disabled by default and setting the variable to true will enable the feature.

Flag Description
RFD_PDFS_IN_GITHUB Enables committing of rendered RFD PDFs back to their source repo
RFD_PDFS_IN_GOOGLE_DRIVE Enables writing of rendered RFD PDFs to Google Drive

The architecture for this application server and all it's surroundings is:

arch.png


lib.rs:

  • A rust library for interacting with the Geocode API.
  • For more information, the Geocode API documentation is available at:
  • https://developers.google.com/maps/documentation/geocoding/overview
  • Example:
  • use google_geocode::Geocode;
  • use serde::{Deserialize, Serialize};
  • async fn geocode() {
  • // Initialize the Geocode client.
    
  • let geocode = Geocode::new_from_env();
    
  • // Get geolocation data.
    
  • let g = geocode.get("some address").await.unwrap();
    
  • println!("{:?}", g);
    
  • }
  • 
    

Dependencies

~4–16MB
~250K SLoC