{"id":3464,"date":"2023-06-05T13:40:43","date_gmt":"2023-06-05T04:40:43","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=3464"},"modified":"2023-06-05T13:41:29","modified_gmt":"2023-06-05T04:41:29","slug":"%e9%95%b7%e6%99%82%e9%96%93%e3%81%ae%e8%aa%bf%e6%9f%bb%e4%b8%8d%e8%a6%81%ef%bc%81chatgptxgoogle-maps-api%e3%81%a7%e7%89%a9%e4%bb%b6%e5%91%a8%e8%be%ba%e6%83%85%e5%a0%b1%e3%82%92%e5%8d%b3%e5%ba%a7","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/%e9%95%b7%e6%99%82%e9%96%93%e3%81%ae%e8%aa%bf%e6%9f%bb%e4%b8%8d%e8%a6%81%ef%bc%81chatgptxgoogle-maps-api%e3%81%a7%e7%89%a9%e4%bb%b6%e5%91%a8%e8%be%ba%e6%83%85%e5%a0%b1%e3%82%92%e5%8d%b3%e5%ba%a7\/","title":{"rendered":"\u9577\u6642\u9593\u306e\u8abf\u67fb\u4e0d\u8981\uff01ChatGPT\u00d7Google Maps API\u3067\u7269\u4ef6\u5468\u8fba\u60c5\u5831\u3092\u5373\u5ea7\u306b\u5165\u624b"},"content":{"rendered":"\n<p>Google Maps API\u3068ChatGPT\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u624b\u65e9\u304f\u5165\u624b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u7269\u4ef6\u3092\u691c\u8a0e\u3059\u308b\u969b\u306b\u306f\u3001\u5468\u8fba\u74b0\u5883\u3084\u5229\u4fbf\u6027\u304c\u91cd\u8981\u306a\u8981\u7d20\u3068\u306a\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u307e\u3067\u306f\u8a73\u7d30\u306a\u60c5\u5831\u3092\u53ce\u96c6\u3059\u308b\u305f\u3081\u306b\u6642\u9593\u3092\u8cbb\u3084\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001ChatGPT\u3068Google Maps API\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u77ac\u6642\u306b\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n\u5e97\u3001\u30db\u30c6\u30eb\u306a\u3069\u306e\u5468\u8fba\u306e\u7af6\u5408\u76f8\u624b\u3092\u8abf\u3079\u305f\u304f\u306a\u308b\u6642\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f\r\n\r\n\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u306f\u3001\u7af6\u5408\u5e97\u306e\u5206\u6790\u3084\u30d3\u30b8\u30cd\u30b9\u6226\u7565\u306e\u7acb\u6848\u306b\u304a\u3044\u3066\u91cd\u8981\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u624b\u52d5\u3067\u306f\u60c5\u5831\u53ce\u96c6\u3084\u30c7\u30fc\u30bf\u51e6\u7406\u306b\u306f\u591a\u304f\u306e\u624b\u9593\u3068\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3088\u306d\u3002\u305d\u3053\u3067\u3001Google Maps API\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7c21\u5358\u304b\u3064\u52b9\u7387\u7684\u306b\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\r\n\r\n\u3053\u306e\u65b9\u6cd5\u3092\u77e5\u308c\u3070\u3001ChatGPT\u3092\u4f7f\u3063\u3066\u77ed\u6642\u9593\u3067\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u7269\u4ef6\u306e\u5468\u8fba\u306b\u3042\u308b\u30b3\u30f3\u30d3\u30cb\u6570\u3084\u30b9\u30fc\u30d1\u30fc\u306e\u6570\u3001\u6700\u5bc4\u99c5\u307e\u3067\u306e\u5f92\u6b69\u6642\u9593\u306a\u3069\u306e\u60c5\u5831\u3092\u624b\u306b\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\r\n\r\n\u3057\u304b\u3057\u3001\u5229\u7528\u306b\u306f\u3044\u304f\u3064\u304b\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u306f\u3001\u4ee5\u4e0b\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u306b\u3064\u3044\u3066\u3054\u8aac\u660e\u3057\u307e\u3059\u3002\r\n<b>\u30c7\u30e1\u30ea\u30c3\u30c8<\/b>\r\n\uff11\uff0eAPI\u306e\u5236\u9650\u3068\u5b9f\u884c\u901f\u5ea6\u306e\u5236\u7d04: Google Maps API\u306f\u5229\u7528\u5236\u9650\u304c\u3042\u308a\u3001\u5b9f\u884c\u901f\u5ea6\u304c\u9045\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306b\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3059\u308b\u5834\u5408\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\r\n\r\n\uff12\uff0e\u691c\u7d22\u7d50\u679c\u306e\u5236\u9650: Google Maps API\u3067\u306f\u3001\u4e00\u5ea6\u306e\u691c\u7d22\u3067\u53d6\u5f97\u3067\u304d\u308b\u60c5\u5831\u306f\u6700\u5927\u306720\u4ef6\u307e\u3067\u3067\u3059\u3002\u3053\u308c\u3092\u8d85\u3048\u308b\u5834\u5408\u306f\u3001\u8ffd\u52a0\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\r\n\r\n\uff13\uff0e\u6709\u6599: \u4e00\u90e8\u306eGoogle Maps API\u6a5f\u80fd\u306f\u6709\u6599\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8a73\u7d30\u306a\u60c5\u5831\u3084\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u3001\u6599\u91d1\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\r\n\r\n\u3053\u308c\u3089\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u306b\u3082\u6ce8\u610f\u3057\u306a\u304c\u3089\u3001Google Maps API\u3092\u4f7f\u3044\u306a\u304c\u3089\u7c21\u5358\u306b\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\n\n<h2>Google Maps API \u30ad\u30fc\u3092\u53d6\u5f97<\/h2>\n\u307e\u305a\u3001Google Maps API\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306fAPI\u30ad\u30fc\u306e\u53d6\u5f97\u304c\u5fc5\u8981\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u5fc3\u914d\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002API\u30ad\u30fc\u306e\u53d6\u5f97\u306f\u7c21\u5358\u3067\u3001\u4ee5\u4e0b\u306e\u53c2\u8003\u8a18\u4e8b\u306b\u5f93\u3063\u3066\u624b\u9806\u3092\u9032\u3081\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\u3002\r\n\r\n\u3010\u53c2\u8003\u8a18\u4e8b\u3011<strong><a href=\"https:\/\/neuralnetconsulting.info\/google-maps-api%e3%82%92python%e3%81%a7%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b%e6%89%8b%e9%a0%86%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\/\">\u3010Python\u3067\u5b66\u3076\u3011Google Maps API\u3092\u5229\u7528\u3059\u308b\u624b\u9806 | \u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb &#8211; AIconsult<\/a><\/strong>\r\n\r\nChatGPT\u3092\u4f7f\u3044\u306a\u304c\u3089\u3001\u77ed\u3044\u6642\u9593\u3067API\u30ad\u30fc\u3092\u767a\u884c\u3067\u304d\u308b\u306e\u3067\u3001\u624b\u9806\u3092\u78ba\u8a8d\u3057\u3066\u30b9\u30e0\u30fc\u30ba\u306b\u9032\u3081\u307e\u3057\u3087\u3046\u3002\n\n<h2>\u7269\u4ef6\u306e\u6700\u5bc4\u308a\u99c5\u3068\u6700\u5bc4\u308a\u99c5\u307e\u3067\u306e\u5f92\u6b69\u6642\u9593\u3092\u7b97\u51fa<\/h2>\n\u305d\u308c\u3067\u306f\u3001\u7269\u4ef6\u306e\u6700\u5bc4\u308a\u99c5\u3068\u6700\u5bc4\u308a\u99c5\u307e\u3067\u306e\u5f92\u6b69\u6642\u9593\u3092\u7b97\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\r\n\r\n\u307e\u305a\u3001Airbnb\u306e\u6771\u4eac\u7269\u4ef6\u30c7\u30fc\u30bf\uff08listings_detail.csv\uff09\u3092\u7528\u610f\u3057\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u306b\u306f\u7269\u4ef6\u306e\u540d\u524d\u3084\r\n\r\n\u7def\u5ea6\u7d4c\u5ea6\u306a\u3069\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\r\n\r\nAirbnb\u306e\u516c\u5f0f\u306e\u6771\u4eac\u7269\u4ef6\u60c5\u5831\u30c7\u30fc\u30bf\u306f\u3053\u3061\u3089\u304b\u3089\u2193\r\n\r\n<a href=\"http:\/\/insideairbnb.com\/get-the-data\">Inside Airbnb: Get the Data<\/a>\r\n\r\n\u305d\u3057\u3066\u3001ChatGPT\u3092\u6d3b\u7528\u3057\u3066\u3001\u7269\u4ef6\u306e\u7def\u5ea6\u7d4c\u5ea6\u3092\u53d6\u5f97\u3057\u3001Google Maps Distance Matrix API\u3092\u4f7f\u7528\u3057\u3066\u6700\u5bc4\u308a\u99c5\u307e\u3067\u306e\u5f92\u6b69\u6642\u9593\u3092\u7b97\u51fa\u3059\u308b\u95a2\u6570\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u95a2\u6570\u3092\u4f7f\u3048\u3070\u3001\u7269\u4ef6\u3054\u3068\u306b\u5f92\u6b69\u6642\u9593\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\r\n\r\n\u77ed\u6642\u9593\u3067\u5b9f\u88c5\u3067\u304d\u308bChatGPT\u306e\u529b\u3092\u501f\u308a\u306a\u304c\u3089\u3001\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u624b\u306b\u3057\u307e\u3059\u3002\r\n\r\nAirbnb\u306e\u6771\u4eac\u7269\u4ef6\u30c7\u30fc\u30bf\uff08listings_detail.csv\uff09\r\n\r\n<img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-67.png\" alt=\"\" width=\"1125\" height=\"602\" class=\"alignnone size-full wp-image-3471\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-67.png 1125w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-67-300x161.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-67-1024x548.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-67-768x411.png 768w\" sizes=\"(max-width: 1125px) 100vw, 1125px\" \/>\r\n\r\n\u3053\u3053\u304b\u3089\u306fChatGPT\u306b\u4f5c\u6210\u3057\u3066\u3082\u3089\u3044\u307e\u3057\u3087\u3046\u3002\r\n\r\nAPI\u30ad\u30fc\u306f\u3059\u3067\u306b\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3001\u3056\u3063\u304f\u308a\u3068\u304a\u9858\u3044\u3057\u3066\u3044\u307e\u3059\u3002\r\n\r\n<img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-68.png\" alt=\"\" width=\"901\" height=\"734\" class=\"alignnone size-full wp-image-3470\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-68.png 901w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-68-300x244.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-68-768x626.png 768w\" sizes=\"(max-width: 901px) 100vw, 901px\" \/>\r\n\r\n\u8fd4\u3063\u3066\u304d\u305f\u30b3\u30fc\u30c9\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import googlemaps\r\n\r\ndef get_nearest_station(hotel_lat, hotel_lng):\r\ngmaps = googlemaps.Client(key='YOUR_API_KEY')\r\n\r\n# \u30db\u30c6\u30eb\u306e\u7def\u5ea6\u7d4c\u5ea6\u3092\u6307\u5b9a\r\nhotel_location = (hotel_lat, hotel_lng)\r\n\r\n# \u6700\u5bc4\u308a\u306e\u99c5\u3092\u691c\u7d22\r\nstations = gmaps.places_nearby(location=hotel_location, radius=1000, type='train_station')\r\n\r\nif len(stations['results']) &gt; 0:\r\n# \u6700\u5bc4\u308a\u99c5\u306e\u7def\u5ea6\u7d4c\u5ea6\u3092\u53d6\u5f97\r\nnearest_station_location = stations['results'][0]['geometry']['location']\r\nnearest_station_lat = nearest_station_location['lat']\r\nnearest_station_lng = nearest_station_location['lng']\r\n\r\n# \u6700\u5bc4\u308a\u99c5\u304b\u3089\u30db\u30c6\u30eb\u307e\u3067\u306e\u8ddd\u96e2\u3068\u6240\u8981\u6642\u9593\u3092\u53d6\u5f97\r\ndistance_matrix = gmaps.distance_matrix(origins=(nearest_station_lat, nearest_station_lng),\r\ndestinations=hotel_location,\r\nmode='walking',\r\nunits='metric')\r\nif distance_matrix['status'] == 'OK':\r\n# \u6240\u8981\u6642\u9593\u3092\u53d6\u5f97\uff08\u5358\u4f4d\u306f\u5206\uff09\r\nduration = distance_matrix['rows'][0]['elements'][0]['duration']['text']\r\nreturn duration\r\nelse:\r\nreturn None\r\nelse:\r\nreturn None\r\n\r\n# \u30db\u30c6\u30eb\u306e\u7def\u5ea6\u7d4c\u5ea6\u3092\u6307\u5b9a\r\n\r\nhotel_latitude = 35.123456 # \u30db\u30c6\u30eb\u306e\u7def\u5ea6\r\nhotel_longitude = 139.789012 # \u30db\u30c6\u30eb\u306e\u7d4c\u5ea6\r\n\r\n# \u6700\u5bc4\u308a\u99c5\u3068\u306e\u6240\u8981\u6642\u9593\u3092\u53d6\u5f97\r\n\r\nduration = get_nearest_station(hotel_latitude, hotel_longitude)\r\n\r\nif duration:\r\nprint(f\"\u30db\u30c6\u30eb\u304b\u3089\u6700\u5bc4\u308a\u99c5\u307e\u3067\u306e\u6240\u8981\u6642\u9593\u306f {duration} \u5206\u3067\u3059\u3002\")\r\nelse:\r\nprint(\"\u6700\u5bc4\u308a\u306e\u99c5\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\")<\/code><\/pre>\r\n<\/div>\r\n<img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-69.png\" alt=\"\" width=\"966\" height=\"728\" class=\"alignnone size-full wp-image-3469\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-69.png 966w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-69-300x226.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-69-768x579.png 768w\" sizes=\"(max-width: 966px) 100vw, 966px\" \/>\r\n\r\n\u3053\u306e\u901a\u308a\u306bAPI\u30ad\u30fc\u3068\u7def\u5ea6\u7d4c\u5ea6\u3060\u3051\u5909\u3048\u8a66\u3057\u306b\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u5f92\u6b69\u306710\u5206\u304b\u304b\u308b\u3068\u51fa\u307e\u3057\u305f\u3002\r\n\r\n\u3057\u304b\u3057\u3001\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3053\u306e\u30b3\u30fc\u30c9\u306e\u4e2d\u8eab\u3092\u898b\u3066\u307f\u308b\u3068\u672c\u5f53\u306b\u30db\u30c6\u30eb\u304b\u3089\u4e00\u756a\u8fd1\u3044\u6700\u5bc4\u308a\u99c5\u306a\u306e\u304b\u7591\u554f\u3067\u3059\u3002\r\n\r\n\u306a\u306e\u3067ChatGPT\u306b\u4fee\u6b63\u3057\u3066\u3082\u3089\u3044\u307e\u3057\u3087\u3046\u3002\r\n\r\n\u7b46\u8005\u300c# \u6700\u5bc4\u308a\u99c5\u306e\u7def\u5ea6\u7d4c\u5ea6\u3092\u53d6\u5f97\r\n\r\nnearest_station_location = stations[&#8216;results&#8217;][0][&#8216;geometry&#8217;][&#8216;location&#8217;]\r\n\r\n\u3053\u308c\u306f\u8fd4\u3055\u308c\u305f\u7d50\u679c\u306e\u6700\u521d\u306e\u99c5\u3063\u3066\u3053\u3068\uff1f\r\n\r\n\u300d\r\n\r\nChatGPT\u300c\u306f\u3044\u3001\u305d\u306e\u7406\u89e3\u3067\u6b63\u3057\u3044\u3067\u3059\u3002\u63d0\u4f9b\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306f\u3001Google Maps Places API\u304b\u3089\u306e\u691c\u7d22\u7d50\u679c\uff08stations\uff09\u306e\u4e2d\u3067\u6700\u521d\u306e\u99c5\uff08\u30a4\u30f3\u30c7\u30c3\u30af\u30b90\uff09\u306e\u7def\u5ea6\u7d4c\u5ea6\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002\u3064\u307e\u308a\u3001stations[&#8216;results&#8217;][0]\u306f\u6700\u521d\u306e\u99c5\u3092\u6307\u3057\u3001[&#8216;geometry&#8217;][&#8216;location&#8217;]\u306f\u305d\u306e\u99c5\u306e\u7def\u5ea6\u7d4c\u5ea6\u60c5\u5831\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\r\n\r\nGoogle Maps Places API\u306e\u5fdc\u7b54\u306b\u306f\u3001\u691c\u7d22\u30af\u30a8\u30ea\u306b\u57fa\u3065\u3044\u3066\u53d6\u5f97\u3055\u308c\u305f\u8907\u6570\u306e\u99c5\u60c5\u5831\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u6700\u521d\u306e\u99c5\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u305d\u306e\u99c5\u306e\u7def\u5ea6\u7d4c\u5ea6\u3092 nearest_station_location \u306b\u683c\u7d0d\u3057\u3066\u3044\u307e\u3059\u3002\r\n\r\n\u3082\u3057\u3082\u8907\u6570\u306e\u99c5\u60c5\u5831\u304c\u8fd4\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u5834\u5408\u3084\u3001\u7279\u5b9a\u306e\u99c5\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u9069\u5b9c\u30b3\u30fc\u30c9\u3092\u8abf\u6574\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u300d\r\n\r\n\u79c1\u300c\u3053\u308c\u306f\u3067\u3082\u30db\u30c6\u30eb\u304b\u3089\u4e00\u756a\u8fd1\u3044\u99c5\u3067\u3042\u308b\u3068\u306f\u9650\u3089\u306a\u3044\u3088\u306d\uff1f\u300d\r\n\r\nChatGPT\u300c\u7533\u3057\u8a33\u3042\u308a\u307e\u305b\u3093\u3001\u5148\u307b\u3069\u306e\u30b3\u30fc\u30c9\u306f\u5fc5\u305a\u3057\u3082\u30db\u30c6\u30eb\u304b\u3089\u4e00\u756a\u8fd1\u3044\u99c5\u3092\u53d6\u5f97\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u63d0\u4f9b\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306f\u3001Google Maps Places API\u304b\u3089\u306e\u691c\u7d22\u7d50\u679c\u306e\u6700\u521d\u306e\u99c5\u306e\u7def\u5ea6\u7d4c\u5ea6\u3092\u53d6\u5f97\u3059\u308b\u3082\u306e\u3067\u3059\u3002\r\n\r\nGoogle Maps Places API\u3067\u306f\u3001\u691c\u7d22\u7d50\u679c\u306f\u4e00\u5b9a\u306e\u57fa\u6e96\u306b\u57fa\u3065\u3044\u3066\u30bd\u30fc\u30c8\u3055\u308c\u3001\u6700\u3082\u95a2\u9023\u6027\u306e\u9ad8\u3044\u9806\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u6700\u521d\u306e\u99c5\u304c\u5fc5\u305a\u3057\u3082\u30db\u30c6\u30eb\u304b\u3089\u6700\u3082\u8fd1\u3044\u99c5\u3067\u3042\u308b\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002API\u306e\u5fdc\u7b54\u306f\u3001\u691c\u7d22\u30af\u30a8\u30ea\u3084\u305d\u306e\u4ed6\u306e\u8981\u7d20\u306b\u57fa\u3065\u3044\u3066\u30e9\u30f3\u30ad\u30f3\u30b0\u3055\u308c\u308b\u305f\u3081\u3001\u7d50\u679c\u306f\u5834\u6240\u3084\u6761\u4ef6\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\uff08\u4ee5\u4e0b\u7565\uff09\u300d\r\n\r\n\u3084\u306f\u308a\u3053\u308c\u3067\u306f\u3060\u3081\u305d\u3046\u3067\u3059\u306d\u3002\u3053\u3046\u3044\u3046\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3042\u3063\u3066\u3044\u308b\u306e\u304b\u81ea\u5206\u3067\u7cbe\u67fb\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u4fee\u6b63\u7248\u3092ChatGPT\u306b\u51fa\u305b\u3070\u3059\u3050\u306b\u4fee\u6b63\u3057\u3066\u304f\u308c\u307e\u3059\u3002\r\n\r\n\u4eca\u56de\u306f\u304a\u8a66\u3057\u306a\u306e\u3067\u3055\u304f\u3063\u3068\u6b21\u306b\u9032\u307f\u307e\u3059\u3002\n\n<h2>\u7269\u4ef6\u5468\u8fba\u306e\u30b9\u30fc\u30d1\u30fc\u3068\u30b3\u30f3\u30d3\u30cb\u306e\u6570\u3092\u53d6\u5f97\u3059\u308b\u95a2\u6570\u3082ChatGPT\u306b\u4f5c\u3089\u305b\u308b<\/h2>\n\u540c\u69d8\u306bChatGPT\u306b\u4f5c\u3063\u3066\u3082\u3089\u3046\u3088\u3046\u306b\u547d\u4ee4\u3057\u307e\u3057\u305f\u3002\r\n\r\n\u8fd4\u3063\u3066\u304d\u305f\u30b3\u30fc\u30c9\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002\r\n\r\n<img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-70.png\" alt=\"\" width=\"815\" height=\"673\" class=\"alignnone size-full wp-image-3468\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-70.png 815w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-70-300x248.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-70-768x634.png 768w\" sizes=\"(max-width: 815px) 100vw, 815px\" \/>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import googlemaps\r\n\r\ndef count_convenience_stores(latitude, longitude, radius):\r\ngmaps = googlemaps.Client(key='YOUR_API_KEY')\r\n\r\n# \u6307\u5b9a\u3055\u308c\u305f\u7def\u5ea6\u7d4c\u5ea6\u3092\u4f4d\u7f6e\u60c5\u5831\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5909\u63db\r\nlocation = (latitude, longitude)\r\n\r\n# \u30b3\u30f3\u30d3\u30cb\u3092\u691c\u7d22\r\nplaces = gmaps.places_nearby(location=location, radius=radius, type='convenience_store')\r\n\r\n# \u30b3\u30f3\u30d3\u30cb\u306e\u6570\u3092\u53d6\u5f97\r\ncount = len(places['results'])\r\n\r\nreturn count\r\n\r\n# \u6307\u5b9a\u3055\u308c\u305f\u7def\u5ea6\u7d4c\u5ea6\r\n\r\nlatitude = 35.123456 # \u7def\u5ea6\r\nlongitude = 139.789012 # \u7d4c\u5ea6\r\n\r\n# \u534a\u5f84500m\u4ee5\u5185\u306e\u30b3\u30f3\u30d3\u30cb\u6570\u3092\u7b97\u51fa\r\n\r\nradius_500m = 500 # \u534a\u5f84500m\r\ncount_500m = count_convenience_stores(latitude, longitude, radius_500m)\r\n\r\n# \u534a\u5f841km\u4ee5\u5185\u306e\u30b3\u30f3\u30d3\u30cb\u6570\u3092\u7b97\u51fa\r\n\r\nradius_1km = 1000 # \u534a\u5f841km\r\ncount_1km = count_convenience_stores(latitude, longitude, radius_1km)\r\n\r\n# \u534a\u5f842km\u4ee5\u5185\u306e\u30b3\u30f3\u30d3\u30cb\u6570\u3092\u7b97\u51fa\r\n\r\nradius_2km = 2000 # \u534a\u5f842km\r\ncount_2km = count_convenience_stores(latitude, longitude, radius_2km)\r\n\r\nprint(f\"\u534a\u5f84500m\u4ee5\u5185\u306e\u30b3\u30f3\u30d3\u30cb\u6570: {count_500m} \u4ef6\")\r\nprint(f\"\u534a\u5f841km\u4ee5\u5185\u306e\u30b3\u30f3\u30d3\u30cb\u6570: {count_1km} \u4ef6\")\r\nprint(f\"\u534a\u5f842km\u4ee5\u5185\u306e\u30b3\u30f3\u30d3\u30cb\u6570: {count_2km} \u4ef6\")<\/code><\/pre>\r\n<\/div>\r\n\u3053\u308c\u306f\u3053\u306e\u307e\u307e\u3067\u554f\u984c\u306a\u3055\u305d\u3046\u3067\u3059\u3002\n\n<h2>\u81ea\u52d5\u3067Airbnb\u306e\u7269\u4ef6\u30c7\u30fc\u30bf\u306e\u5468\u8fba\u60c5\u5831\u3092\u683c\u7d0d\u3057\u305f\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\u79c1\u300cColab\u3067listings_detail.csv\u306elistings_detail_data\u30b7\u30fc\u30c8\u3092\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0df\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307f\u305f\u3044\u3002\r\n\r\nid,listing_url,name,latitude,longitude,number_of_reviews,\r\n\r\nreview_scores_location,review_scores_value\u5217\u3092df\u304b\u3089\u629c\u304d\u51fa\u3057\u3066df_v2\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3002\r\n\u305d\u3057\u3066\u3001name\u306b\u306f\u30db\u30c6\u30eb\u540d\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u3066latitude\u3001longitude\u5217\u306b\u305d\u308c\u305e\u308c\u7def\u5ea6\u3001\u7d4c\u5ea6\u306e\u6570\u5b57\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3002\u30db\u30c6\u30eb\u3054\u3068\u306b\u3055\u3063\u304d\u306e\u95a2\u6570\u3092\u7528\u3044\u3066latitude\u3001longitude\u5217\u306e\u6570\u5024\u304b\u3089\u3001\u534a\u5f8450m\u4ee5\u5185\u3001\u534a\u5f84100m\u4ee5\u5185\u3001\u534a\u5f84500m\u4ee5\u5185\u3001\u534a\u5f841km\u4ee5\u5185\u3001\u534a\u5f842km\u4ee5\u5185\u306e\u30b9\u30fc\u30d1\u30fc\u30de\u30fc\u30b1\u30c3\u30c8\u3068\u30b3\u30f3\u30d3\u30cb\u306e\u6570\u3001\u3055\u3089\u306b\u3001\u6700\u5bc4\u308a\u99c5\u306e\u540d\u524d\u3068\u6700\u5bc4\u308a\u99c5\u307e\u3067\u306e\u5f92\u6b69\u6240\u8981\u6642\u9593\u3092\u65b0\u305f\u306b\u53d6\u5f97\u3057\u5217\u306b\u52a0\u3048\u305f\u3044\u3002\r\n\u3055\u304d\u307b\u3069\u306e\u3079\u305f\u95a2\u6570\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u306f\u7701\u7565\u3057\u3066\u826f\u3044\u300d\r\n\r\n\u305d\u3057\u3066\u6700\u7d42\u7684\u306b\u5b8c\u6210\u3057\u305f\u30b3\u30fc\u30c9\u306f\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import pandas as pd\r\nimport googlemaps\r\n\r\n# listings_detail.csv\u306e\u8aad\u307f\u8fbc\u307f\r\ndf = pd.read_csv('\/content\/listings_detail.csv',encoding='cp932')\r\n# \u5fc5\u8981\u306a\u5217\u3092\u62bd\u51fa\u3057\u3066\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0df_v2\u3092\u4f5c\u6210\r\ndf_v2 = df[['id', 'listing_url', 'name', 'latitude', 'longitude', 'number_of_reviews',\r\n'review_scores_location', 'review_scores_value']]\r\n# \u6700\u521d\u306e1000\u500b\u306e\u30c7\u30fc\u30bf\u306e\u307f\u3092\u62bd\u51fa\r\ndf_v2_100 = df_v2.head(1000)\r\n\r\n# Google Maps API\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f5c\u6210\r\ngmaps = googlemaps.Client(key='API\u30ad\u30fc')\r\n\r\ndef count_places(latitude, longitude, radius, place_type):\r\n# \u4f4d\u7f6e\u60c5\u5831\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5909\u63db\r\nlocation = (latitude, longitude)\r\n\r\n# \u6307\u5b9a\u3055\u308c\u305f\u534a\u5f84\u5185\u306e\u6307\u5b9a\u3055\u308c\u305f\u7a2e\u985e\u306e\u5834\u6240\u3092\u691c\u7d22\r\nplaces = gmaps.places_nearby(location=location, radius=radius, type=place_type)\r\n\r\n# \u5834\u6240\u306e\u6570\u3092\u53d6\u5f97\r\ncount = len(places['results'])\r\n\r\nreturn count\r\n\r\ndef get_nearest_station(latitude, longitude):\r\n# \u6700\u5bc4\u308a\u306e\u99c5\u3092\u691c\u7d22\r\nstations = gmaps.places_nearby(location=(latitude, longitude), radius=1000, type='train_station')\r\n\r\nif len(stations['results']) &gt; 0:\r\n# \u6700\u5bc4\u308a\u99c5\u306e\u7def\u5ea6\u7d4c\u5ea6\u3068\u540d\u524d\u3092\u53d6\u5f97\r\nnearest_station_location = stations['results'][0]['geometry']['location']\r\nnearest_station_lat = nearest_station_location['lat']\r\nnearest_station_lng = nearest_station_location['lng']\r\nnearest_station_name = stations['results'][0]['name']\r\n\r\n# \u6700\u5bc4\u308a\u99c5\u304b\u3089\u30db\u30c6\u30eb\u307e\u3067\u306e\u8ddd\u96e2\u3068\u6240\u8981\u6642\u9593\u3092\u53d6\u5f97\r\ndistance_matrix = gmaps.distance_matrix(origins=(nearest_station_lat, nearest_station_lng),\r\ndestinations=(latitude, longitude),\r\nmode='walking',\r\nunits='metric')\r\nif distance_matrix['status'] == 'OK':\r\n# \u6240\u8981\u6642\u9593\u3092\u53d6\u5f97\uff08\u5358\u4f4d\u306f\u5206\uff09\r\nduration = distance_matrix['rows'][0]['elements'][0]['duration']['text']\r\nreturn nearest_station_name, duration\r\nelse:\r\nreturn None, None\r\nelse:\r\nreturn None, None\r\n\r\n# \u65b0\u305f\u306a\u5217\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306e\u30ea\u30b9\u30c8\r\nradius_list = [50, 100, 500, 1000, 2000]\r\nsupermarket_counts = []\r\nconvenience_store_counts = []\r\nnearest_station_names = []\r\nwalking_times = []\r\n\r\n# \u30db\u30c6\u30eb\u3054\u3068\u306b\u60c5\u5831\u3092\u53d6\u5f97\r\nfor index, row in df_v2_100.iterrows():\r\nlatitude = row['latitude']\r\nlongitude = row['longitude']\r\n\r\n# \u534a\u5f84\u3054\u3068\u306b\u30b9\u30fc\u30d1\u30fc\u30de\u30fc\u30b1\u30c3\u30c8\u3068\u30b3\u30f3\u30d3\u30cb\u306e\u6570\u3092\u7b97\u51fa\r\nsupermarket_count_list = []\r\nconvenience_store_count_list = []\r\n\r\nfor radius in radius_list:\r\nsupermarket_count = count_places(latitude, longitude, radius, 'supermarket')\r\nconvenience_store_count = count_places(latitude, longitude, radius, 'convenience_store')\r\nsupermarket_count_list.append(supermarket_count)\r\nconvenience_store_count_list.append(convenience_store_count)\r\n\r\n# \u6700\u5bc4\u308a\u99c5\u3068\u6240\u8981\u6642\u9593\u3092\u53d6\u5f97\r\nnearest_station, walking_time = get_nearest_station(latitude, longitude)\r\n\r\n# \u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\r\nsupermarket_counts.append(supermarket_count_list)\r\nconvenience_store_counts.append(convenience_store_count_list)\r\nnearest_station_names.append(nearest_station)\r\nwalking_times.append(walking_time)\r\n\r\n# \u65b0\u305f\u306a\u5217\u3092\u8ffd\u52a0\r\ndf_v2_100['supermarket_count_50m'] = [counts[0] for counts in supermarket_counts]\r\ndf_v2_100['supermarket_count_100m'] = [counts[1] for counts in supermarket_counts]\r\ndf_v2_100['supermarket_count_500m'] = [counts[2] for counts in supermarket_counts]\r\ndf_v2_100['supermarket_count_1km'] = [counts[3] for counts in supermarket_counts]\r\ndf_v2_100['supermarket_count_2km'] = [counts[4] for counts in supermarket_counts]\r\ndf_v2_100['convenience_store_count_50m'] = [counts[0] for counts in convenience_store_counts]\r\ndf_v2_100['convenience_store_count_100m'] = [counts[1] for counts in convenience_store_counts]\r\ndf_v2_100['convenience_store_count_500m'] = [counts[2] for counts in convenience_store_counts]\r\ndf_v2_100['convenience_store_count_1km'] = [counts[3] for counts in convenience_store_counts]\r\ndf_v2_100['convenience_store_count_2km'] = [counts[4] for counts in convenience_store_counts]\r\ndf_v2_100['nearest_station'] = nearest_station_names\r\ndf_v2_100['walking_time'] = walking_times\r\n\r\n# \u7d50\u679c\u3092\u8868\u793a\r\nprint(df_v2_100)<\/code><\/pre>\r\n<\/div>\r\n\u305d\u3057\u3066\u3001\u6700\u7d42\u7684\u306b\u5468\u8fba\u306e\u30b3\u30f3\u30d3\u30cb\u6570\u3001\u30b9\u30fc\u30d1\u30fc\u306e\u6570\u3001\u5f92\u6b69\u6642\u9593\u3082\u683c\u7d0d\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3067\u304d\u307e\u3057\u305f\u3002\r\n\r\n<img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-71.png\" alt=\"\" width=\"1900\" height=\"557\" class=\"alignnone size-full wp-image-3467\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-71.png 1900w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-71-300x88.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-71-1024x300.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-71-768x225.png 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/06\/Untitled-71-1536x450.png 1536w\" sizes=\"(max-width: 1900px) 100vw, 1900px\" \/>\n\n<h2>\u307e\u3068\u3081<\/h2>\n\u306a\u3093\u3068\u6570\u5341\u5206\u3067\u30b3\u30fc\u30c9\u306e\u5b9f\u88c5\u81ea\u4f53\u306f\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002\r\n\r\n\u3053\u308c\u306f\u3042\u308a\u304c\u305f\u3044\u3067\u3059\u306d\uff01\r\n\r\nChatGPT\u306b\u3088\u308b\u307e\u3068\u3081\u3067\u3059\u3002\r\n\r\n\u300c\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001ChatGPT\u3092\u6d3b\u7528\u3057\u306a\u304c\u3089Google Maps API\u3092\u4f7f\u7528\u3057\u3066\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u7c21\u5358\u306b\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\r\n\r\n\u8a18\u4e8b\u3067\u306f\u3001\u7269\u4ef6\u3054\u3068\u306b\u5468\u8fba\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3001\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u7d50\u679c\u3092\u8ffd\u52a0\u3059\u308b\u624b\u9806\u3082\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u7269\u4ef6\u306e\u7def\u5ea6\u7d4c\u5ea6\u3092\u53d6\u5f97\u3057\u3001Google Places API\u3092\u4f7f\u7528\u3057\u3066\u5468\u8fba\u306e\u30b3\u30f3\u30d3\u30cb\u6570\u3084\u30b9\u30fc\u30d1\u30fc\u30de\u30fc\u30b1\u30c3\u30c8\u6570\u3092\u53d6\u5f97\u3057\u307e\u3057\u305f\u3002\r\n\r\n\u305f\u3060\u3057\u3001\u3053\u306e\u65b9\u6cd5\u306b\u306f\u3044\u304f\u3064\u304b\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u3082\u3042\u308a\u307e\u3059\u3002API\u306e\u5236\u9650\u306b\u3088\u308a\u5b9f\u884c\u901f\u5ea6\u304c\u9045\u304f\u306a\u308b\u5834\u5408\u3084\u3001\u4e00\u5ea6\u306b\u53d6\u5f97\u3067\u304d\u308b\u60c5\u5831\u306e\u4e0a\u9650\u304c\u3042\u308b\u3053\u3068\u3001\u3055\u3089\u306b\u4f7f\u7528\u306b\u306f\u4e00\u5b9a\u306e\u8cbb\u7528\u304c\u304b\u304b\u308b\u3053\u3068\u306a\u3069\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002\r\n\r\n\u4ee5\u4e0a\u304cGoogle Maps API\u3092\u4f7f\u7528\u3057\u3066\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306e\u6982\u8981\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u7af6\u5408\u5e97\u5206\u6790\u306a\u3069\u3001\u58f2\u308a\u4e0a\u3052\u3092\u4e0a\u3052\u308b\u305f\u3081\u306e\u6709\u76ca\u306a\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u300d\r\n\r\n\u305c\u3072\u3001\u5b9f\u969b\u306b\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002","protected":false},"excerpt":{"rendered":"<p>Google Maps API\u3068ChatGPT\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7269\u4ef6\u306e\u5468\u8fba\u60c5\u5831\u3092\u624b\u65e9\u304f\u5165\u624b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u7269\u4ef6\u3092\u691c\u8a0e\u3059\u308b\u969b\u306b\u306f\u3001\u5468\u8fba\u74b0\u5883\u3084\u5229\u4fbf\u6027\u304c\u91cd\u8981\u306a\u8981\u7d20\u3068\u306a\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u307e\u3067\u306f\u8a73\u7d30\u306a\u60c5\u5831\u3092\u53ce\u96c6\u3059\u308b\u305f\u3081 [&hellip;]<\/p>\n","protected":false},"author":83,"featured_media":3155,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[376,458],"class_list":["post-3464","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-chatgpt","tag-google-maps-api"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/3464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/83"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=3464"}],"version-history":[{"count":0,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/3464\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/3155"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=3464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=3464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=3464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}