/google-places-api-rs

Rust wrapper for the Google Places API. Access their hundreds of millions of places, reviews, and ratings.

Primary LanguageRustMIT LicenseMIT

Google Places API

Working Examples

  • cargo run --example nearby_search
  • cargo run --example place_details
  • cargo run --example find_place
  • cargo run --example place_photos
  • cargo run --example text_search

Contributing Instructions

  • Add "rust-analyzer.diagnostics.disabled": ["unresolved-import"] to your settings.json file to disable proc macro warnings for serde.
  • cargo test will run integration tests that ensure basic functionality is in check

Helpful Commands

Repo Structure

├── src
│   ├── lib.rs
│   ├── error.rs
│   ├── client.rs
│   ├── models
│   │   ├── place_details.rs
│   │   └── ...
│   ├── services
│   │   ├── places.rs
│   │   └── ...
│   └── utils
│       ├── request.rs
│       └── ...
├── tests
│   ├── integration.rs
│   └── unit
│       ├── client.rs
│       ├── services
│       │   ├── places.rs
│       │   └── ...
│       └── ...
├── examples
│   ├── main.rs
│   ├── basic_search.rs
│   └── ...
├── Cargo.toml
└── README.md