APIのURLにブラウザからアクセスするも、

{
"error_message" : "This API key is not authorized to use this service or API.",
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}

と表示され、Google Maps APIが使えない場合。

 

↓こんなURLにアクセスした場合の話。

https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=自分のAPIキー&location=34.6741176,135.4967499&radius=3000&language=ja&keyword=ローソン

 

 {"html_attributions" : [], "results" : [], "status" : "INVALID_REQUEST" }

と表示される場合もある。

 

APIの制限 の設定を見直す必要がある

https://console.cloud.google.com/apis/

を開く。

①プロジェクトを選択

②認証情報を選択

③該当のAPIキーをダブルクリック

 


ki-

キーを制限 を選んでいるのであれば、Place APIにチェックを入れてOKを押す。

チェック入れた後の画面でOKを押さなければ反映されない。

 

確実にOKを押したら、保存を選択。

 

5分待つ。

ほんまに5分待つ

 

 

これでエラーではなく、取りたい結果が返ってくるはず。

 

クリックで結果を開く(めっちゃ長い)
{
   "html_attributions" : [],
   "next_page_token" : "hogehogetoken",
   "results" : [
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.664422,
               "lng" : 135.5297263
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.66575232989273,
                  "lng" : 135.5311217798927
               },
               "southwest" : {
                  "lat" : 34.66305267010728,
                  "lng" : 135.5284221201073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 東上町店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 3969,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/110807531686252733131\"\u003eMasahiko Motono\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEDI-L8hOy_2J9DWygZnwmCrnErH8HXpXQpdn7rquUEayrcYp4qzcuClJVINiH66EG9iiJAb5vBIVtKB_xMQKny-WVqGbCbK4TcsZzGpGjhTGnc-R24IUHDNtPFF64uHiag_9ZnaxPiPXahVl1DM1nAqWyeiEHhIxHr_q_rZ3HlvzBNA",
               "width" : 5946
            }
         ],
         "place_id" : "ChIJ86-weg_hAGAR65ydKklUViM",
         "plus_code" : {
            "compound_code" : "MG7H+QV 大阪市、大阪府",
            "global_code" : "8Q6QMG7H+QV"
         },
         "rating" : 2.9,
         "reference" : "ChIJ86-weg_hAGAR65ydKklUViM",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 8,
         "vicinity" : "大阪市天王寺区東上町2−7"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6664726,
               "lng" : 135.5199987
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.66769882989273,
                  "lng" : 135.5213394298927
               },
               "southwest" : {
                  "lat" : 34.66499917010728,
                  "lng" : 135.5186397701073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 上本町駅前店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 3464,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/100357135706696311375\"\u003eA Google User\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEDWn4BK9J11p735e7QrREvLo9p-2zFg1WafepaLm0xArbOgab4PrvK1PxJ2fcIRwXU8h8U19I-cJfguiEA4sgFlLiOlfM0W-y_IJPvTujYrldHjHepBhSAcFU2TszeuLHaMNSuDQYHtnh9WX6xpNsXXXwXm8dD76QeoHEeCAcm-Mcsu",
               "width" : 4618
            }
         ],
         "place_id" : "ChIJQydMBU7nAGARRpDZi1MWwz4",
         "plus_code" : {
            "compound_code" : "MG89+HX 大阪市、大阪府",
            "global_code" : "8Q6QMG89+HX"
         },
         "rating" : 3.1,
         "reference" : "ChIJQydMBU7nAGARRpDZi1MWwz4",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 15,
         "vicinity" : "大阪市天王寺区上本町6丁目2−17"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6657498,
               "lng" : 135.5056127
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.66704872989272,
                  "lng" : 135.5071024798927
               },
               "southwest" : {
                  "lat" : 34.66434907010728,
                  "lng" : 135.5044028201072
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 日本橋一丁目店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 3024,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/101136820746214350330\"\u003e鶴田直己\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uECkQznEiJVpnNwbJWd06_kfAd9_Cv8SMk9TTBtpSm7p3InG8zEXvsnRgcZwtqQzAjnu2ZN9__khKUjNjJIw-tA-aZzOEi9J8IrkYsu5oRFxxBN7R0TETg5bl3ufGHYB7kqp8dBEGS33J-pU2Htmx2TO7n37wb-_cbkXNf1EyWLmnNZ_",
               "width" : 4032
            }
         ],
         "place_id" : "ChIJI8pPZWrnAGARDEAlzTxlrTQ",
         "plus_code" : {
            "compound_code" : "MG84+79 大阪市、大阪府",
            "global_code" : "8Q6QMG84+79"
         },
         "rating" : 3.6,
         "reference" : "ChIJI8pPZWrnAGARDEAlzTxlrTQ",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 25,
         "vicinity" : "大阪市中央区日本橋1丁目20−5"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6798832,
               "lng" : 135.5121624
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.68124332989272,
                  "lng" : 135.5134831298927
               },
               "southwest" : {
                  "lat" : 34.67854367010727,
                  "lng" : 135.5107834701073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 和泉町店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 1080,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/104798875195456605504\"\u003ekazumasa i\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEBuYKRW81iRacRvra113qM1WRP8lbxdV0FJOkJf1xM3x0jLcjP5-ExQqNACQBo3WEy_LbPDFV4JNHhUNNYBd9ZhJIukLf8zJuNRS4-76q-EKn4P6MNoTRgVuVG38JXMUDGOOSbmrhvdRc3J3Pf0pziXTzyObDA9DbjzwgVEbrbE_yXI",
               "width" : 1920
            }
         ],
         "place_id" : "ChIJpbe_STvnAGAR7NV2LjdEokI",
         "plus_code" : {
            "compound_code" : "MGH6+XV 大阪市、大阪府",
            "global_code" : "8Q6QMGH6+XV"
         },
         "rating" : 2.5,
         "reference" : "ChIJpbe_STvnAGAR7NV2LjdEokI",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 13,
         "vicinity" : "大阪市中央区和泉町2丁目4−11"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6653646,
               "lng" : 135.5188198
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.66691932989272,
                  "lng" : 135.5200502798927
               },
               "southwest" : {
                  "lat" : 34.66421967010728,
                  "lng" : 135.5173506201072
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン うえほんまちハイハイタウン店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 4160,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/118266855080882052938\"\u003e長門葵\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEAWUCKT1nPI9Y8PsfhmeD_fOHwpQnQRQmpuZ_M3tWMq0A_uSgD7y13XA5FV5g2OqaYRgqHznAWtIF75z_YxltmstLrAgEmX45_bf6HdAcXOI-7edtuiu18Tz0HXAWLIwn5R2COSYxCvGx3piBCr_8semV7oryrgw8KZ7QQyDAfCpx84",
               "width" : 3120
            }
         ],
         "place_id" : "ChIJUTkGKU7nAGAR9ZahGJc5l_Q",
         "plus_code" : {
            "compound_code" : "MG89+4G 大阪市、大阪府",
            "global_code" : "8Q6QMG89+4G"
         },
         "rating" : 2.7,
         "reference" : "ChIJUTkGKU7nAGAR9ZahGJc5l_Q",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "atm",
            "finance",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 18,
         "vicinity" : "大阪市天王寺区上本町6丁目3−31−115"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6835832,
               "lng" : 135.5222141
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.68493302989272,
                  "lng" : 135.5235639298927
               },
               "southwest" : {
                  "lat" : 34.68223337010728,
                  "lng" : 135.5208642701073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン S大手前レストハウス店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 3264,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/109683042220147190138\"\u003eA Google User\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEC6DwsiGonWIlQHkSLOJnOoy0tr0gyhgc47lZcymKt_JM5ngvK7X43Xp6LohjsCJT-QtXHMGUO4z1aVZa0vQM0vRn5KoePQ4wnlIi1-kAQeioU6qtC5EVDpDQb_SQOwYSDT9wMZGFEG4snFugI2Nhp1nstjAkdd3Vxl8BEeTPZXh1qI",
               "width" : 2448
            }
         ],
         "place_id" : "ChIJk98_QzLnAGARpQIzDB3_v4k",
         "plus_code" : {
            "compound_code" : "MGMC+CV 大阪市、大阪府",
            "global_code" : "8Q6QMGMC+CV"
         },
         "rating" : 3.3,
         "reference" : "ChIJk98_QzLnAGARpQIzDB3_v4k",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 37,
         "vicinity" : "大阪市中央区大阪城3−21"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.662432,
               "lng" : 135.5032967
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.66381962989271,
                  "lng" : 135.5045962798927
               },
               "southwest" : {
                  "lat" : 34.66111997010727,
                  "lng" : 135.5018966201073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 難波中二丁目店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 3333,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/110807531686252733131\"\u003eMasahiko Motono\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEC5KyrY4BxU6_M-Oc1Tk0sViqFEXfu3iutTVp0-Kagrt1einNvqRMvAiS2srIPUUjY-N5cJqotBt-x-pmIprv-Gyc6jF1Zxwg7o-ftpgzo_rmD0lBxI4xxzXiMsbX_-dZrcLXF4kr5OoczeuQAl4R89a1lBYLlN1bSvyvN80GpZOPqC",
               "width" : 5000
            }
         ],
         "place_id" : "ChIJucZGZWnnAGAReHP6Hi0Kczc",
         "plus_code" : {
            "compound_code" : "MG63+X8 大阪市、大阪府",
            "global_code" : "8Q6QMG63+X8"
         },
         "rating" : 3.4,
         "reference" : "ChIJucZGZWnnAGAReHP6Hi0Kczc",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 39,
         "vicinity" : "大阪市浪速区難波中2丁目6−17 河原町ビル 1階"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6745148,
               "lng" : 135.5295421
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.67591462989272,
                  "lng" : 135.5308833798927
               },
               "southwest" : {
                  "lat" : 34.67321497010728,
                  "lng" : 135.5281837201073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 空堀町店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 1688,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/110682817942584201886\"\u003ekoi take\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEBhv5HuGtFadGvAejp_KGXuu749xDRek-BiQVaXe8dMWLoHul5w6SS9nQ03-NnaYHiIlYQgc1_d0cayNcCzgMt-9CUWCGthvN4s8Dycm6nsiyxszXhw-TKhjOsR51FbZlDdCItIMMDMMjInZwndGyGLMG_TVQGaJWztNEtZ2NLUZQbI",
               "width" : 3008
            }
         ],
         "place_id" : "ChIJ68I8-7PgAGARQoLrz2-BaD8",
         "plus_code" : {
            "compound_code" : "MGFH+QR 大阪市、大阪府",
            "global_code" : "8Q6QMGFH+QR"
         },
         "rating" : 3.7,
         "reference" : "ChIJ68I8-7PgAGARQoLrz2-BaD8",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "atm",
            "finance",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 10,
         "vicinity" : "大阪市天王寺区空堀町1−1"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.692829,
               "lng" : 135.5296954
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.69417882989272,
                  "lng" : 135.5310452298927
               },
               "southwest" : {
                  "lat" : 34.69147917010727,
                  "lng" : 135.5283455701072
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン オプテージビル店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 1532,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/113726752836929687918\"\u003etamotchi\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uECrMPbtxSXgcvIWHR4GriHjhhIKXa08To0sLoW_P5VGH1ho-kCL-4KZjqD1i3jEa9NJp-00YnU0cCAUHR20pRCa9A2hSJ2B3vMGXUGX3M8EKwhRhQA8ncx46kbrlaPfVDU_JVSnpZ4W7ZEPHd1R27NyttgIjUUQQ2chu21FCTbX52RY",
               "width" : 1532
            }
         ],
         "place_id" : "ChIJSeWYSNHgAGARqMS-X7osKbc",
         "plus_code" : {
            "compound_code" : "MGVH+4V 大阪市、大阪府",
            "global_code" : "8Q6QMGVH+4V"
         },
         "rating" : 4.7,
         "reference" : "ChIJSeWYSNHgAGARqMS-X7osKbc",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 3,
         "vicinity" : "大阪市中央区城見2丁目1−5"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6580429,
               "lng" : 135.5273568
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.65941257989272,
                  "lng" : 135.5287959298928
               },
               "southwest" : {
                  "lat" : 34.65671292010727,
                  "lng" : 135.5260962701073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 桃谷駅前店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 3916,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/118266855080882052938\"\u003e長門葵\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEDYQRVIzKEAAPQMOXTOzfpaJnyMkGH0V29EiDPNnlWNOM3x59bPAz5YdJnfIP4NdIgVxk941-9Dslr3JMinNM6aAAjaGvbtnxMVURn2e5JC5TqfJAd20ue7MI_u5FKvK8CZG8F_7vsydEKHQV6jiLS0yjCgrGC8SusB1NcC-hUIjczq",
               "width" : 2936
            }
         ],
         "place_id" : "ChIJd_mf_gDeAGARxthHM1AEKSY",
         "plus_code" : {
            "compound_code" : "MG5G+6W 大阪市、大阪府",
            "global_code" : "8Q6QMG5G+6W"
         },
         "rating" : 2.5,
         "reference" : "ChIJd_mf_gDeAGARxthHM1AEKSY",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "atm",
            "finance",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 17,
         "vicinity" : "大阪市天王寺区烏ケ辻1丁目1−1"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6981865,
               "lng" : 135.5042788
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.69953517989273,
                  "lng" : 135.5055590298927
               },
               "southwest" : {
                  "lat" : 34.69683552010728,
                  "lng" : 135.5028593701072
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 西天満六丁目店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 3268,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/110807531686252733131\"\u003eMasahiko Motono\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uED9vNbjUZw-J8gJn-Wi64sBz7y0Iyd3QgZy-WNqwkKS165MevYwj0Ids9EVcqK0jQn9LAiBpjMEyTPZiq3bleCqzWEM7xIac3ig05JKBOpzvmrvyRnzwz5egjFr9y4pMB_arWw-j5tZ0-nqydGnlDMJOoc20vbkYRSHETlBxhAj7b3c",
               "width" : 4895
            }
         ],
         "place_id" : "ChIJB6hFm-nmAGARND-dwly4laA",
         "plus_code" : {
            "compound_code" : "MGX3+7P 大阪市、大阪府",
            "global_code" : "8Q6QMGX3+7P"
         },
         "rating" : 3,
         "reference" : "ChIJB6hFm-nmAGARND-dwly4laA",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "atm",
            "finance",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 12,
         "vicinity" : "大阪市北区西天満6丁目8−7"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6920424,
               "lng" : 135.524398
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.69348842989272,
                  "lng" : 135.5256871298928
               },
               "southwest" : {
                  "lat" : 34.69078877010728,
                  "lng" : 135.5229874701073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 片町一丁目店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 4160,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/105532520560135667920\"\u003e26inch siro\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uED6Mb5fOQ36GfeYDbLzwQd8CpYn7gFGy7tX9_Kc04QSqE2LTm0B6_HvkL1KZFzvRxeOm0FHt93oqN7-GnAPsRCijIJx4ZXs0evvl7X75hIYiwOPrOR7KUa4GcmuEgtjy_8DbzRxd42CAlpuwdg6HU5ZN3S_RW8FoR3Uld5r-3nbmQFY",
               "width" : 3120
            }
         ],
         "place_id" : "ChIJ352HJCvnAGARJ-bLkTaLup4",
         "plus_code" : {
            "compound_code" : "MGRF+QQ 大阪市、大阪府",
            "global_code" : "8Q6QMGRF+QQ"
         },
         "rating" : 3.5,
         "reference" : "ChIJ352HJCvnAGARJ-bLkTaLup4",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 21,
         "vicinity" : "大阪市都島区片町1丁目4−8"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.688655,
               "lng" : 135.5072593
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.69003582989273,
                  "lng" : 135.5086200798927
               },
               "southwest" : {
                  "lat" : 34.68733617010729,
                  "lng" : 135.5059204201073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 北浜MIDビル店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 1920,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/111667885001023763005\"\u003eMY Nishi\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEA8Ezo0M-vSnCGSeE6Gmjg-Zj7kjPJFT6gBDq_QshEJsWqsnsRoaeikw-A6vgP8lx9U2QaKl0K9e7lNkdImwWkKo-z8gvOh8dooFo9P_JQdXg5lnPzRRmRw4LtRn-m1SAHFWrg4FP9qV0ecsU9gwqzg3XrgMp55dfTlUaZsPCOINmQ8",
               "width" : 1080
            }
         ],
         "place_id" : "ChIJCxCxyN_mAGARMLw09Nri38A",
         "plus_code" : {
            "compound_code" : "MGQ4+FW 大阪市、大阪府",
            "global_code" : "8Q6QMGQ4+FW"
         },
         "rating" : 3.2,
         "reference" : "ChIJCxCxyN_mAGARMLw09Nri38A",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "atm",
            "finance",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 33,
         "vicinity" : "大阪市中央区道修町1丁目6−7"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6663951,
               "lng" : 135.5182211
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.66793147989272,
                  "lng" : 135.5214969
               },
               "southwest" : {
                  "lat" : 34.66523182010727,
                  "lng" : 135.5127045
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン OSL谷町九丁目駅店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 2592,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/107462781809780597607\"\u003e辻川公章\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEAEqRN1ZrB0ygLc-QPCNAwg5KVBbXH5NTQLoTORdlFdJ7WLeWpBPwwh-yuxIdTuPX82wdZzXfzzPw8KYH_TgVFNnFvcN_rmUn4eF_RQ-eEQbJwgDU4RDkD_XkSqmAqxSBikiNCYSjq1u11xn4QAZQMzl0sfb0z-VZx47i5QBV4t_7dn",
               "width" : 4608
            }
         ],
         "place_id" : "ChIJ623bNk7nAGARYWllAFAWNmU",
         "plus_code" : {
            "compound_code" : "MG89+H7 大阪市、大阪府",
            "global_code" : "8Q6QMG89+H7"
         },
         "rating" : 3.5,
         "reference" : "ChIJ623bNk7nAGARYWllAFAWNmU",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 6,
         "vicinity" : "大阪市天王寺区生玉前町1−24"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6820593,
               "lng" : 135.4971039
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.68354007989272,
                  "lng" : 135.4985849798927
               },
               "southwest" : {
                  "lat" : 34.68084042010728,
                  "lng" : 135.4958853201073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン S OSL四つ橋本町駅店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 2448,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/115813950840252425159\"\u003e1400yoshi\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEBBvMNUJs7l-YrN9GSTrfjvA8trEsGKT6V_Qp9BaD7w4pviLLWMLAnc3riU9MM8OrwJ8AU4CYEr3hDsL9UMD5jhKh-oUyHoII9HX28nfkDASO4wsFdzDT-2DP4NcUHAKQyJOuHSPD4LAsb2SYFqVwd3j7uzsPfuPF2JLVFattDA4Bj_",
               "width" : 3264
            }
         ],
         "place_id" : "ChIJZ90eVR3nAGAR0_lgOVUnp8U",
         "plus_code" : {
            "compound_code" : "MFJW+RR 大阪市、大阪府",
            "global_code" : "8Q6QMFJW+RR"
         },
         "rating" : 3.7,
         "reference" : "ChIJZ90eVR3nAGAR0_lgOVUnp8U",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 9,
         "vicinity" : "大阪市西区西本町1丁目4−10"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6544783,
               "lng" : 135.5249066
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.65587377989272,
                  "lng" : 135.5262603298928
               },
               "southwest" : {
                  "lat" : 34.65317412010728,
                  "lng" : 135.5235606701073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 勝山三丁目店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 3464,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/106305802976887821867\"\u003eA Google User\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uEDyuj9qIX12Zv3siWuLrbD49Yw-133oZFHH1dpEHtMB2P9Or0CCkChQbtUsg7r1JSzVOKLvri01OqGbuvGG4E3iV8EXs0nTtTEcpkhS10Ub10jtMyyqzt0qHItMcnx97NSxzoxpOeB-HGNjkUXp-uEpHUDQ-XFrwv4BW56xWXS3neQg",
               "width" : 4618
            }
         ],
         "place_id" : "ChIJBeu18P3dAGARehHjFK5GiMo",
         "plus_code" : {
            "compound_code" : "MG3F+QX 大阪市、大阪府",
            "global_code" : "8Q6QMG3F+QX"
         },
         "rating" : 2.8,
         "reference" : "ChIJBeu18P3dAGARehHjFK5GiMo",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 28,
         "vicinity" : "大阪市天王寺区勝山3丁目6−2"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.7011304,
               "lng" : 135.5180416
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.70247587989272,
                  "lng" : 135.5194996798927
               },
               "southwest" : {
                  "lat" : 34.69977622010727,
                  "lng" : 135.5168000201073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 同心一丁目店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 1304,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/111043683064546441539\"\u003eなおきひがしお\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uECPMv04mz4DOsAENDQx4vHID8IkA2iSBZlrcgU2i6zLMt3GeeSXQWQpHOfSfBAlRW3FMXQLvxwoP-WwSPukPAzXWapb0sPkDxvZm-hW2NGow726vYLZo_pprfEjjqHJE5XhnW0B3APPMTcfjrEib0lcS5Ls9PBtnQNUpiG0_8bJu2--",
               "width" : 1898
            }
         ],
         "place_id" : "ChIJcUdt08_mAGARz4v6ZniN058",
         "plus_code" : {
            "compound_code" : "PG29+F6 大阪市、大阪府",
            "global_code" : "8Q6QPG29+F6"
         },
         "rating" : 1.8,
         "reference" : "ChIJcUdt08_mAGARz4v6ZniN058",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 19,
         "vicinity" : "大阪市北区同心1丁目8−25"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6666868,
               "lng" : 135.5210101
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.66807767989272,
                  "lng" : 135.5223998798927
               },
               "southwest" : {
                  "lat" : 34.66537802010728,
                  "lng" : 135.5197002201072
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 上本町六丁目北店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 2124,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/107091323135461709375\"\u003eHr t\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uECQgXId7bJaj5cN1UnyiK_jPJ7Uafw5dqQoM7KgTxISIHkrbRU3JrlQuYAR6EaDqsjmRrOQGgpysMava2_1f97sX0eyLZT4ftv-t7mD6gCH1vGcwEOrwzrt9bhfHdAx3hp4ix-wlw8fqcFptx_H6Wi21K4EpUoiD7Tsbm7yNMApljgI",
               "width" : 3776
            }
         ],
         "place_id" : "ChIJA6Uw-E3nAGAR9CryEyWBkRk",
         "plus_code" : {
            "compound_code" : "MG8C+MC 大阪市、大阪府",
            "global_code" : "8Q6QMG8C+MC"
         },
         "rating" : 2.8,
         "reference" : "ChIJA6Uw-E3nAGAR9CryEyWBkRk",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 14,
         "vicinity" : "大阪市天王寺区上本町6丁目2−1"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6519292,
               "lng" : 135.5061394
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.65331847989273,
                  "lng" : 135.5074862298927
               },
               "southwest" : {
                  "lat" : 34.65061882010728,
                  "lng" : 135.5047865701073
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 通天閣南店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 2736,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/112160435666295736775\"\u003e猶友巳岩本\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uECHWfakJAo46UPiP-m8t2nNxqKEwxjO0HJ41RKOEdZPLsVW_RHYdUJC1V8d8nkjaNMX9j1ATx5TKDK8oFoJr0Au7XLr4QR_J2tv4ZC2dIq2rwAQu1I--7MEHXcZGSYONIOTQ2MJxqraqBuZDn-ro7Ip_namd0VZ-q-GyDhWFY_hTs7q",
               "width" : 4864
            }
         ],
         "place_id" : "ChIJS1AiC2DnAGARxGCgNTSoYZk",
         "plus_code" : {
            "compound_code" : "MG24+QF 大阪市、大阪府",
            "global_code" : "8Q6QMG24+QF"
         },
         "rating" : 2.7,
         "reference" : "ChIJS1AiC2DnAGARxGCgNTSoYZk",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 28,
         "vicinity" : "大阪市浪速区恵美須東2丁目3−17"
      },
      {
         "business_status" : "OPERATIONAL",
         "geometry" : {
            "location" : {
               "lat" : 34.6975209,
               "lng" : 135.5079567
            },
            "viewport" : {
               "northeast" : {
                  "lat" : 34.69894687989272,
                  "lng" : 135.5093189798927
               },
               "southwest" : {
                  "lat" : 34.69624722010727,
                  "lng" : 135.5066193201072
               }
            }
         },
         "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/shopping-71.png",
         "icon_background_color" : "#4B96F3",
         "icon_mask_base_uri" : "https://maps.gstatic.com/mapfiles/place_api/icons/v2/convenience_pinlet",
         "name" : "ローソン 西天満三丁目店",
         "opening_hours" : {
            "open_now" : true
         },
         "photos" : [
            {
               "height" : 1080,
               "html_attributions" : [
                  "\u003ca href=\"https://maps.google.com/maps/contrib/113487980009325962088\"\u003eA Google User\u003c/a\u003e"
               ],
               "photo_reference" : "Aap_uECi-bClripT6PiOHNqM1r4gZAIz5RYJsJH_ZH0LgqpIuL3BcRv2uXW6VOlcIpn1H2E3_o8pth7jm6CdodYKUFUZ0n679fs9t3SvujCPeCJO7w1_0_Sv_YF01Hz_LKuErLe27EwYXBACjpvxpG8ELBinATmcpQyqzN3sHtyRZJZ_tX49",
               "width" : 1440
            }
         ],
         "place_id" : "ChIJ81cF6cLmAGARjozUN5SqqyI",
         "plus_code" : {
            "compound_code" : "MGX5+25 大阪市、大阪府",
            "global_code" : "8Q6QMGX5+25"
         },
         "rating" : 4.6,
         "reference" : "ChIJ81cF6cLmAGARjozUN5SqqyI",
         "scope" : "GOOGLE",
         "types" : [
            "convenience_store",
            "food",
            "point_of_interest",
            "store",
            "establishment"
         ],
         "user_ratings_total" : 11,
         "vicinity" : "大阪市北区西天満3丁目6−21"
      }
   ],
   "status" : "OK"
}

 

制限なし にしても解決するが、最低限のものだけに絞り込んでおいたほうがいいらしい。

Google Maps APIって名前のものしか昔はなかった気がするが、ころころグーグルが名前を変えやがる。

 

  • Maps Elevation API

  • Maps Embed API

  • Maps JavaScript API

  • Maps SDK for Android

  • Maps SDK for iOS

  • Maps Static API

などオンにしてみたが、関係なかった。

じゃあなんやねんこいつらwww

 

無制限に質問可能なプログラミングスクール!

万が一転職できない場合は、転職保障全額返金できるコースもあり!!

無制限のメンター質問対応

 

DMMウェブキャンプでプログラミングを学習しませんか?

独学より成長スピードをブーストさせましょう!

 

まずは無料相談から!

おすすめの記事