Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Fancy Fields … You can retrieve the details of a Place by providing a place_id.

ENDPOINT

 GET 
/rest/fancyfields/1.0/placedetails/{place_id}

RESPONSE

{
    "html_attributions": [],
    "result": {
        "address_components": [
            {
                "long_name": "1600",
                "short_name": "1600",
                "types": [
                    "street_number"
                ]
            },
            {
                "long_name": "Pennsylvania Avenue Northwest",
                "short_name": "Pennsylvania Avenue NW",
                "types": [
                    "route"
                ]
            },
            {
                "long_name": "Northwest Washington",
                "short_name": "Northwest Washington",
                "types": [
                    "neighborhood",
                    "political"
                ]
            },
            {
                "long_name": "Washington",
                "short_name": "Washington",
                "types": [
                    "locality",
                    "political"
                ]
            },
            {
                "long_name": "District of Columbia",
                "short_name": "DC",
                "types": [
                    "administrative_area_level_1",
                    "political"
                ]
            },
            {
                "long_name": "United States",
                "short_name": "US",
                "types": [
                    "country",
                    "political"
                ]
            },
            {
                "long_name": "20500",
                "short_name": "20500",
                "types": [
                    "postal_code"
                ]
            }
        ],
        "adr_address": "<span class=\"street-address\">1600 Pennsylvania Avenue NW</span>, <span class=\"locality\">Washington</span>, <span class=\"region\">DC</span> <span class=\"postal-code\">20500</span>, <span class=\"country-name\">USA</span>",
        "business_status": "OPERATIONAL",
        "editorial_summary": {
            "language": "en",
            "overview": "Landmark, historic home & office of the United States president, with tours for visitors."
        },
        "formatted_address": "1600 Pennsylvania Avenue NW, Washington, DC 20500, USA",
        "formatted_phone_number": "(202) 456-1111",
        "geometry": {
            "location": {
                "lat": 38.8976763,
                "lng": -77.0365298
            },
            "viewport": {
                "northeast": {
                    "lat": 38.90150685,
                    "lng": -77.03520251970849
                },
                "southwest": {
                    "lat": 38.89639945,
                    "lng": -77.0379004802915
                }
            }
        },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/civic_building-71.png",
        "icon_background_color": "#7B9EB0",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/civic-bldg_pinlet",
        "international_phone_number": "+1 202-456-1111",
        "name": "The White House",
        "photos": [
            {
                "height": 1365,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/103373060190538198750\">Olivier Herrmann</a>"
                ],
                "photo_reference": "AfLeUgNMx_etcbrTJcz0CHbFV1f7HjNw-vepx2Pzr8i5mrQTSL6pi7iFoCZTrEoWzkmSe0ulHXDCgoumSUs_yxMW-zIjVgCeqV1rU8dzXr2CBS4GKvPJRDCGVa3N2mHlRoUc45RC5wTu8eJDoBnc6F1FbngRQ35F248qB-FtYlMOz3zjJFLd",
                "width": 2048
            },
            {
                "height": 2249,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/105787856450685617563\">Amos Kairouz</a>"
                ],
                "photo_reference": "AfLeUgMHuKHYj9zjlNr2uG0JkyTwTxONwdGx5KmHBlXRLpOBQbjqoetMIE369ui48cQY40x2m2MYRbrTvurEziWuk7fZzf_0juTIfm80KJrB2l354q7miGFZd3cMd44D6lWijLOnEgaRyDERT6ehYnSXu1_YROQ5hnXftcKluz_KDD-nM8Bx",
                "width": 3410
            },
            {
                "height": 1052,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/107477701409667167888\">Jimoh Idris ola</a>"
                ],
                "photo_reference": "AfLeUgOpNDCC7_-QDzp2-wUMieygsSA3B9JTWzwHrXpg6CEYwKoymPM8rBVqt-jLcJUlYVtgYHNfCEHeMup3Zaotx-SGrcwCJDh6b5XURyph6GGVBGWwYDnw6JCOP1JN1PGC3sOqE8qr6QpGqihDv1hNDFqDaVbBX-z52kYlcWLIzv7bJGGz",
                "width": 828
            },
            {
                "height": 3846,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/111069803868704371412\">Wright Cox</a>"
                ],
                "photo_reference": "AfLeUgNYkbhsu11-CH2TLJdB2aGdbZr-QsQqm7Ulj9V9FW2HBZfOSbIFTVKVs8voHr_BTq_pFyOlJg39_YYCfjL1KcM2v8L3w6XxVTpdvBBvqZJp_jhoTtdQMgZAFLw1SONSCbcThQGr03wz_WrCTSVpLymVpamm64paZ1GLoHNi5e-Notk",
                "width": 7136
            },
            {
                "height": 440,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/118151177936578683019\">ابن المليك</a>"
                ],
                "photo_reference": "AfLeUgPOmnmEZjzjcDE_93JiydUjS-A74LDn1oOO4MJs8ZLcPOacGk0XbrFqmX4ZRCuRJrvMcwFiOFmCpkXUFjkC3AxLKCl5fpwE5o96740cLDEb3SD2vlYaZ8M3r41aDGu-0ONaYe6cDQXITRIDltoCOD27y7EtvpiGiqOvdvSiwL6dkcOe",
                "width": 592
            },
            {
                "height": 500,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/117209569388239079730\">Dennison Paul</a>"
                ],
                "photo_reference": "AfLeUgPtNchl8jsCKp40E0JOfBnHSr-7Qs__2UyMboRWBVWG2jWcq48AjN99OgAGhJot9FgCG4dLKSGqfV41zRfY0RpdR0KORJ7rKPtYBzFBQYaKQL7DC2-muqgpE-sbgrQ9QrZQjU5KThvjsu3-BHsAwNNn4G5aptlIWg9wHUFZhq08EjNA",
                "width": 750
            },
            {
                "height": 1000,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/109870051549555901371\">Abdoul Aziz Ndiaye</a>"
                ],
                "photo_reference": "AfLeUgPbnakKzhtLZMQ-ETQhQJtr2uOxOlfsUoAi3H0fu72ywrTkYeAc7jH8GlG9wgtzOKUZ9qZ19Tt-LDU8Uwfx4bndJ5jXq7_wF_uhxUnOeMKXWhXHU1QJ_lfplgqcIEJqUhQxDJuSGdQJOrVH-aYIyDD187TSvRCM0ZNEhdKoKLaSPdFd",
                "width": 1214
            },
            {
                "height": 3664,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/117939471876093935972\">Kent Li</a>"
                ],
                "photo_reference": "AfLeUgMRp0qC1nL6RSGuUytqpvp6LntMlDbzbw3H8n7dXjD1_CRcS7SdwxcOjjAFMAA59oD-4yYeYdjw2ZjiR-PtyMmRG_3Q3SUluZDbd54rGko-iTkt6xZxHJOD7WaLdBpsu0xNI0iVva32Z9qMdC8gYdNttbU-IA3HrZCAbo7bz4wqlPdF",
                "width": 5380
            },
            {
                "height": 421,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/111345135143151138711\">mehrdad masoumi</a>"
                ],
                "photo_reference": "AfLeUgPLttPgj6ZU9Mpu666ovRMFojS9YWpKEzCTSwquqSS_zCyOu7avjUwYxlvM2hsIrkhi8EEeCRuHi6_Jk8Jw8nat48q7Qz9OSzEpWDqup9dCgqpFz8FbTXW1lK8RWVpO3fiCfZ9Tqz-l0Cj3SK28-UAIA9vrRUHpowZGCVvAowbak9gX",
                "width": 747
            },
            {
                "height": 4032,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/112556948818051895762\">Maria Wilson</a>"
                ],
                "photo_reference": "AfLeUgPU7Dcuxx5rNKuMLtorzf_IVwH5rwkoZMTCcYbYAmHmaCqFug9gRxbe8AfAPXbRaP2MBxj6P4IDPJvNT31QAnANKwoDDAiejPqMGMNDHujh9-3CM3g1iHiXrDq-JiT11YWi2skP3eduYVGpgSDyV5lYS1vEwPsNR6KzfLkPvZNyoz-_",
                "width": 1960
            }
        ],
        "place_id": "ChIJ37HL3ry3t4kRv3YLbdhpWXE",
        "plus_code": {
            "compound_code": "VXX7+39 Washington, DC, USA",
            "global_code": "87C4VXX7+39"
        },
        "price_level": 0,
        "rating": 4.2,
        "reference": "ChIJ37HL3ry3t4kRv3YLbdhpWXE",
        "reviews": [
            {
                "author_name": "Brenda",
                "author_url": "https://www.google.com/maps/contrib/116992800507045820329/reviews",
                "language": "en",
                "original_language": "en",
                "profile_photo_url": "https://lh3.googleusercontent.com/a-/ACB-R5SZ2hxYOL-efS92BBUEVy3t1yMqtiwedB4sPOCN6Q=s128-c0x00000000-cc-rp-mo-ba6",
                "rating": 5,
                "relative_time_description": "a year ago",
                "text": "I was disappointed that our tour bus didn't take us closer.  We didn't know they changed those plans until we were on it.  So, unfortunately, we were only able to see it from afar.  Nevertheless, it is an impressive building.  I would love to go back one day for a full tour.",
                "time": 1635335561,
                "translated": false
            },
            {
                "author_name": "Prof Arun C. Mehta",
                "author_url": "https://www.google.com/maps/contrib/103096608337277105428/reviews",
                "language": "en",
                "original_language": "en",
                "profile_photo_url": "https://lh3.googleusercontent.com/a-/ACB-R5RaDIlc0RfY68-DvvMwBWlEaqRWSWrX04WpU2U3de4=s128-c0x00000000-cc-rp-mo-ba8",
                "rating": 3,
                "relative_time_description": "5 years ago",
                "text": "Frankly sharing with you there is not much to see and move around the white house. Visited this place in 2013 and a bit disappointed. One can see WH from a far distance. It is just ritual to visit this place while in DC/USA.",
                "time": 1492580520,
                "translated": false
            },
            {
                "author_name": "אבנר קלמר",
                "author_url": "https://www.google.com/maps/contrib/105047526601228998886/reviews",
                "language": "en",
                "original_language": "en",
                "profile_photo_url": "https://lh3.googleusercontent.com/a-/ACB-R5SO118puS5SdcCZkKeWIAESdCT5vNOmrYUVpMzgVJo=s128-c0x00000000-cc-rp-mo-ba6",
                "rating": 5,
                "relative_time_description": "10 months ago",
                "text": "Amazing",
                "time": 1651260717,
                "translated": false
            },
            {
                "author_name": "Simon Weppel",
                "author_url": "https://www.google.com/maps/contrib/112259064758399960406/reviews",
                "language": "en",
                "original_language": "en",
                "profile_photo_url": "https://lh3.googleusercontent.com/a-/ACB-R5SXqwoIkFODDUwUn7YrpFQhL5AlgDiXh_nnqokgQg=s128-c0x00000000-cc-rp-mo-ba5",
                "rating": 5,
                "relative_time_description": "12 months ago",
                "text": "Toll!",
                "time": 1647133481,
                "translated": false
            },
            {
                "author_name": "Carbo Kuo (BYVoid)",
                "author_url": "https://www.google.com/maps/contrib/112163558251413006250/reviews",
                "profile_photo_url": "https://lh3.googleusercontent.com/a-/ACB-R5ROctdWloXhJRvBO43Cx_-BPzEncDPUpbq0GPADZj8=s128-c0x00000000-cc-rp-mo-ba8",
                "rating": 3,
                "relative_time_description": "6 years ago",
                "text": "",
                "time": 1457940106,
                "translated": false
            }
        ],
        "types": [
            "tourist_attraction",
            "point_of_interest",
            "establishment"
        ],
        "url": "https://maps.google.com/?cid=8167675777476425407",
        "user_ratings_total": 5,
        "utc_offset": -240,
        "vicinity": "1600 Pennsylvania Avenue Northwest, Washington",
        "website": "https://www.whitehouse.gov/",
        "wheelchair_accessible_entrance": true
    },
    "status": "OK"
}

  • No labels