{"id":402,"date":"2020-12-05T10:30:53","date_gmt":"2020-12-05T10:30:53","guid":{"rendered":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/?p=402"},"modified":"2025-10-29T05:16:44","modified_gmt":"2025-10-29T05:16:44","slug":"how-to-create-google-api-key","status":"publish","type":"post","link":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/how-to-create-google-api-key\/","title":{"rendered":"How to create google API key"},"content":{"rendered":"\n<p>To create google API key visit the link <a rel=\"noreferrer noopener\" href=\"https:\/\/console.cloud.google.com\/\" target=\"_blank\">https:\/\/console.cloud.google.com\/<\/a> and login with your google access. After that, you need to create a project for API credentials with some Library permission. Follow the screenshot below:<\/p>\n\n\n\n<p>Currently, Google includes all their APIs by default when creating a Google Maps API key. However, for <strong>FoodBook<\/strong>, you only need the APIs listed here:<br>\ud83d\udc49 <a href=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2025\/05\/gml.png\">Screenshot \u2013 Required APIs<\/a><\/p>\n\n\n\n<p><strong>Important Notes:<\/strong><\/p>\n\n\n\n<ul><li class=\"\"><strong>Do not enable any extra APIs<\/strong>, as doing so may cause the Google Maps functionality to stop working with the FoodBook system.<\/li><li class=\"\">As of <strong>March 1, 2025<\/strong>, Google has designated the <strong>Directions API<\/strong> as a <strong>Legacy service<\/strong>. To ensure compatibility, please enable the following service:<br>\ud83d\udc49 <a class=\"\" href=\"https:\/\/console.cloud.google.com\/apis\/library\/places-backend.googleapis.com\">Enable Places Backend API<\/a><\/li><\/ul>\n\n\n\n<p>Also, make sure you have <strong>only the required APIs enabled<\/strong>:<br>\ud83d\udc49 <a href=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2025\/05\/gml.png\">Correct API Configuration Screenshot<\/a><\/p>\n\n\n\n<p>Please double-check that your API key has <strong>no application or API restrictions<\/strong>:<br>\ud83d\udc49 <a href=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/restrict-api.png\">Restrictions Settings Reference<\/a><\/p>\n\n\n\n<p>\ud83d\udd01 <strong>Note:<\/strong> It may take <strong>up to 7 days<\/strong> after activation for the API to function properly. Please be patient during this time.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"625\" src=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_project_create-1024x625.png\" alt=\"\" class=\"wp-image-410\" srcset=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_project_create-1024x625.png 1024w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_project_create-300x183.png 300w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_project_create-768x469.png 768w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_project_create.png 1214w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"709\" height=\"545\" src=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_library.png\" alt=\"\" class=\"wp-image-411\" srcset=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_library.png 709w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_library-300x231.png 300w\" sizes=\"(max-width: 709px) 100vw, 709px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Library Support:<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"371\" src=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_get_libery_2-1024x371.png\" alt=\"\" class=\"wp-image-412\" srcset=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_get_libery_2-1024x371.png 1024w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_get_libery_2-300x109.png 300w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_get_libery_2-768x278.png 768w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_get_libery_2-1536x557.png 1536w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/Screenshot_api_get_libery_2.png 1840w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"409\" src=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2025\/05\/gml-1024x409.png\" alt=\"\" class=\"wp-image-904\" srcset=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2025\/05\/gml-1024x409.png 1024w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2025\/05\/gml-300x120.png 300w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2025\/05\/gml-768x307.png 768w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2025\/05\/gml-1536x614.png 1536w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2025\/05\/gml.png 1916w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Key Restrictions:<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"871\" height=\"782\" src=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/restrict-api.png\" alt=\"\" class=\"wp-image-418\" srcset=\"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/restrict-api.png 871w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/restrict-api-300x269.png 300w, https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-content\/uploads\/2020\/12\/restrict-api-768x690.png 768w\" sizes=\"(max-width: 871px) 100vw, 871px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To create google API key visit the link https:\/\/console.cloud.google.com\/ and login with your google access. After that, you need to create a project for API credentials with some Library permission. Follow the screenshot below: Currently, Google includes all their APIs by default when creating a Google Maps API key. However, for FoodBook, you only need&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/posts\/402"}],"collection":[{"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/comments?post=402"}],"version-history":[{"count":16,"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/posts\/402\/revisions"}],"predecessor-version":[{"id":908,"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/posts\/402\/revisions\/908"}],"wp:attachment":[{"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/media?parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/categories?post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themelooks.net\/documentation\/plugin\/foodbook\/wp-json\/wp\/v2\/tags?post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}