Skip to content

Commit

Permalink
added adr microformat to PlaceDetailsResult
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacwhyte committed Feb 15, 2017
1 parent 61ce2ce commit 40b31b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@

Brett Morgan <[email protected]> @domesticmouse
Chris Broadfoot <[email protected]> @broady
James MacWhyte <[email protected]> @jmacwhyte
Sam Thorogood <[email protected]> @samthor
4 changes: 3 additions & 1 deletion places.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,10 @@ type PlaceDetailsRequest struct {
type PlaceDetailsResult struct {
// AddressComponents is an array of separate address components used to compose a given address.
AddressComponents []AddressComponent `json:"address_components"`
// FormattedAddress is the human-readable address of this place
// FormattedAddress is the human-readable address of this place.
FormattedAddress string `json:"formatted_address"`
// AdrAddress is the address in the "adr" microformat.
AdrAddress string `json:"adr_address"`
// FormattedPhoneNumber contains the place's phone number in its local format. For example, the formatted_phone_number for Google's Sydney, Australia office is (02) 9374 4000.
FormattedPhoneNumber string `json:"formatted_phone_number"`
// InternationalPhoneNumber contains the place's phone number in international format. International format includes the country code, and is prefixed with the plus (+) sign. For example, the international_phone_number for Google's Sydney, Australia office is +61 2 9374 4000.
Expand Down

0 comments on commit 40b31b0

Please sign in to comment.