@@ -323,8 +323,6 @@ type PlacesSearchResult struct {
323
323
Icon string `json:"icon,omitempty"`
324
324
// PlaceID is a textual identifier that uniquely identifies a place.
325
325
PlaceID string `json:"place_id,omitempty"`
326
- // Scope indicates the scope of the PlaceID.
327
- Scope string `json:"scope,omitempty"`
328
326
// Rating contains the place's rating, from 1.0 to 5.0, based on aggregated user
329
327
// reviews.
330
328
Rating float32 `json:"rating,omitempty"`
@@ -336,9 +334,6 @@ type PlacesSearchResult struct {
336
334
OpeningHours * OpeningHours `json:"opening_hours,omitempty"`
337
335
// Photos is an array of photo objects, each containing a reference to an image.
338
336
Photos []Photo `json:"photos,omitempty"`
339
- // AltIDs — An array of zero, one or more alternative place IDs for the place, with
340
- // a scope related to each alternative ID.
341
- AltIDs []AltID `json:"alt_ids,omitempty"`
342
337
// PriceLevel is the price level of the place, on a scale of 0 to 4.
343
338
PriceLevel int `json:"price_level,omitempty"`
344
339
// Vicinity contains a feature name of a nearby location.
@@ -353,16 +348,6 @@ type PlacesSearchResult struct {
353
348
ID string `json:"id,omitempty"`
354
349
}
355
350
356
- // AltID is the alternative place IDs for a place.
357
- type AltID struct {
358
- // PlaceID is the APP scoped Place ID that you received when you initially created
359
- // this Place, before it was given a Google wide Place ID.
360
- PlaceID string `json:"place_id,omitempty"`
361
- // Scope is the scope of this alternative place ID. It will always be APP,
362
- // indicating that the alternative place ID is recognised by your application only.
363
- Scope string `json:"scope,omitempty"`
364
- }
365
-
366
351
var placeDetailsAPI = & apiConfig {
367
352
host : "https://maps.googleapis.com" ,
368
353
path : "/maps/api/place/details/json" ,
@@ -469,8 +454,6 @@ type PlaceDetailsResult struct {
469
454
Icon string `json:"icon,omitempty"`
470
455
// PlaceID is a textual identifier that uniquely identifies a place.
471
456
PlaceID string `json:"place_id,omitempty"`
472
- // Scope indicates the scope of the PlaceID.
473
- Scope string `json:"scope,omitempty"`
474
457
// Rating contains the place's rating, from 1.0 to 5.0, based on aggregated user
475
458
// reviews.
476
459
Rating float32 `json:"rating,omitempty"`
@@ -482,9 +465,6 @@ type PlaceDetailsResult struct {
482
465
OpeningHours * OpeningHours `json:"opening_hours,omitempty"`
483
466
// Photos is an array of photo objects, each containing a reference to an image.
484
467
Photos []Photo `json:"photos,omitempty"`
485
- // AltIDs — An array of zero, one or more alternative place IDs for the place, with
486
- // a scope related to each alternative ID.
487
- AltIDs []AltID `json:"alt_ids,omitempty"`
488
468
// PriceLevel is the price level of the place, on a scale of 0 to 4.
489
469
PriceLevel int `json:"price_level,omitempty"`
490
470
// Vicinity contains a feature name of a nearby location.
0 commit comments