{"id":405468,"date":"2024-07-26T08:00:00","date_gmt":"2024-07-26T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/simple-event-listing-feed-from-google-sheets\/"},"modified":"2025-07-15T02:48:00","modified_gmt":"2025-07-15T02:48:00","slug":"simple-event-listing-feed-from-google-sheets","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/simple-event-listing-feed-from-google-sheets\/","title":{"rendered":"Simple Event Listing feed from Google Sheets"},"content":{"rendered":"<p><strong>Simple Event Listing feed from Google Sheets<\/strong> is a plugin designed to fetch event data from a Google Spreadsheet and display it on your website.<\/p>\n<p>SHORTCODE<br \/>\n\u2013 Basic Usage: <code>[simple_event_sheets]<\/code><br \/>\n    * Ensure your Google Sheet has the row headers: <code>date, name, url, event_info, day_info<\/code>. The date should be formatted as mm\/dd\/yyyy. Implement data validation on the date and url rows to prevent errors. Note: This plugin also offers built-in data validation.<br \/>\n    * <code>event_info<\/code>: Additional information about the event, displayed next to the event name.<br \/>\n    * <code>day_info<\/code>: Additional information about the day of the event, displayed next to the date.<br \/>\n    * Regarding the Google API Key: You\u2019ll need an API key with Spreadsheet access. The sheet should either be set to \u201canyone with the link can view\u201d or you should add a service user. If you\u2019re utilizing server-side event loading, restrict the key by server IP. For client-side loading, restrict the key by domain.<\/p>\n<p>You can use this Google Sheet as a template if wanted, it includes data and url validation to help ensure good data quality. <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/18NnmKKU7P6bFOPEHgyUMWeKQWQJnAfYb5gmn0-fne1E\/\" rel=\"nofollow ugc\">https:\/\/docs.google.com\/spreadsheets\/d\/18NnmKKU7P6bFOPEHgyUMWeKQWQJnAfYb5gmn0-fne1E\/<\/a><\/p>\n<h3>Third-Party Service Disclosure<\/h3>\n<p>This plugin relies on a third-party service, Google Sheets, to function properly. The plugin fetches data from Google Sheets under the following circumstances:<\/p>\n<ul>\n<li>When retrieving event data to display within the application.<\/li>\n<\/ul>\n<h3>Service Information<\/h3>\n<ul>\n<li><strong>Service:<\/strong> <a href=\"https:\/\/developers.google.com\/sheets\/api\" rel=\"nofollow ugc\">Google Sheets API<\/a><\/li>\n<li><strong>Terms of Use:<\/strong> <a href=\"https:\/\/developers.google.com\/terms\/\" rel=\"nofollow ugc\">Google API Terms of Use<\/a><\/li>\n<li><strong>Privacy Policy:<\/strong> <a href=\"https:\/\/policies.google.com\/privacy\" rel=\"nofollow ugc\">Google Privacy Policy<\/a><\/li>\n<\/ul>\n<h3>Creating a Google API Key with Sheets API Access<\/h3>\n<ol>\n<li>\n<p><strong>Go to the Google Cloud Console:<\/strong><\/p>\n<ul>\n<li>Open the Google Cloud Console at <a href=\"https:\/\/console.cloud.google.com\/\" rel=\"nofollow ugc\">console.cloud.google.com<\/a>.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Create a New Project:<\/strong><\/p>\n<ul>\n<li>Click on the project dropdown and select \u201cNew Project\u201d.<\/li>\n<li>Enter a project name and click \u201cCreate\u201d.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Enable the Sheets API:<\/strong><\/p>\n<ul>\n<li>With your project selected, go to the <a href=\"https:\/\/console.cloud.google.com\/apis\/library\" rel=\"nofollow ugc\">API Library<\/a>.<\/li>\n<li>Search for \u201cGoogle Sheets API\u201d and click on it.<\/li>\n<li>Click \u201cEnable\u201d to enable the API for your project.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Create API Credentials:<\/strong><\/p>\n<ul>\n<li>Go to the <a href=\"https:\/\/console.cloud.google.com\/apis\/credentials\" rel=\"nofollow ugc\">Credentials<\/a> page.<\/li>\n<li>Click \u201cCreate Credentials\u201d and select \u201cAPI key\u201d.<\/li>\n<li>Your API key will be created. Copy it and keep it safe.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Restrict Your API Key:<\/strong><\/p>\n<ul>\n<li>Click on the edit icon next to your API key.<\/li>\n<li>Under \u201cKey restrictions\u201d, select either \u201cHTTP referrers (web sites)\u201d or IP (server).<\/li>\n<li>Add the referrer(s) for your site, such as <code>https:\/\/yourdomain.com\/*<\/code> or Server IP.<\/li>\n<li>Save your changes.<\/li>\n<\/ul>\n<ol>\n<li><strong>Set Spreadsheet Access:<\/strong><\/li>\n<\/ol>\n<ul>\n<li>Ensure your Google Sheet is either set to \u201canyone with the link can view\u201d or you should add a service user with the necessary permissions. This step is crucial for the API key to access the data.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>MORE INFORMATION<\/h3>\n<p><a href=\"https:\/\/github.com\/pjaudiomv\/simple-event-sheets\" rel=\"nofollow ugc\">https:\/\/github.com\/pjaudiomv\/simple-event-sheets<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple Event Listing feed from Google Sheets is a plugin designed to fetch event data from a Google Spreadsheet and display it on your website.<\/p>\n","protected":false},"author":65,"featured_media":405469,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Simple Event Listing feed from Google Sheets - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Simple Event Listing feed from Google Sheets is a plugin designed to fetch event data from a Google Spreadsheet and display it on your website."},"footnotes":""},"categories":[1],"tags":[20639,496,3218],"class_list":["post-405468","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-event-listing","tag-events","tag-google-sheets"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/405468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=405468"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/405468\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/405469"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=405468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=405468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=405468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}