Seamless Google Api integrations.
Google Maps, Places, Roads, Search and Translate.
Feel free to contribute, throw questions and report issues. I usually respond fast (24-48 hours).
All operations, as well as request and response data points is supported and covered in the implementation. The library is very easy to consume, and using the service operations, is as seamless as shown below.
TRequest request = new TRequest();
TResponse response = await GoogleMaps.Geocode.QueryAsync<TRequest, TResponse>(request);
The TRequest
represents a request model, with an abitrary number of properties, defining the required and optional parameters supported by the Google api operation, corresponding to the request. The TResponse
defines the response model returned by the Google api operation. Each operation has a request and response, mapped to a facade implementation.
The following operations are supported.
- Directions
- Distance Matrix
- Elevation
- Geocode
- Reverse Geocode
- Geolocation
- Roads
- Nearest Roads
- Snap To Roads
- Speed Limits
- Time Zone
- Place Search
- Near By
- Text
- Radar (deprecated by Google, June 30th 2018)
- Place Details
- Place Add (deprecated by Google, June 30th 2018)
- Place Delete (deprecated by Google, June 30th 2018)
- Place Photos
- Place Autocomplete
- Query Autocomplete
- Web
- Image
- Detect
- Languages
- Translate
- MergePolyLine
- EncodePolyLine
- DecodePolyLine
Running the test suite is simple.
The test project stores settings related to your Google subscription (free or paid) in application.default.json
. Most importantly, the ApiKey
, used to identify the Google subscription.
{
"ApiKey": "",
"CryptoKey": "",
"ClientId": "",
"SearchEngineId": "",
}
More information about generating a key can be found here: https://console.developers.google.com/