{"id":190177,"date":"2014-05-30T04:29:18","date_gmt":"2014-05-30T11:29:18","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/making-community-events-post-to-an-api\/"},"modified":"2014-10-14T07:40:54","modified_gmt":"2014-10-14T14:40:54","slug":"making-community-events-post-to-an-api","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/","title":{"rendered":"Making community events POST to an API?"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>We have a requirement to have an events list\/calendar on a website where the public can add their own events but they are moderated before the appear on the site so we&#8217;re looking at your Community Events events plugin.<\/p>\n<p>However another requirement is that when a new event is publish on the site it is also posted to an 3rd party API. We are PHP developers and prepared to write the code to communicate with the API but we would want to do it without hacking the Community Events plugin code. So my question is, does the Community Events plugin provide any event hooks in it&#8217;s API which would could used to do this or would this only be possible by hacking the plugin code?<\/p>\n<p>Thanks for your time and I look forward to a reply,<br \/>\nTom<\/p>\n","protected":false},"template":"","class_list":["post-190177","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Making community events POST to an API? -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Making community events POST to an API? -\" \/>\n<meta property=\"og:description\" content=\"Hi there, We have a requirement to have an events list\/calendar on a website where the public can add their own events but they are moderated before the appear on the site so we&#8217;re looking at your Community Events events plugin. However another requirement is that when a new event is publish on the site [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-10-14T14:40:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/\",\"name\":\"Making community events POST to an API? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-05-30T11:29:18+00:00\",\"dateModified\":\"2014-10-14T14:40:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Making community events POST to an API?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Making community events POST to an API? -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/","og_locale":"en_US","og_type":"article","og_title":"Making community events POST to an API? -","og_description":"Hi there, We have a requirement to have an events list\/calendar on a website where the public can add their own events but they are moderated before the appear on the site so we&#8217;re looking at your Community Events events plugin. However another requirement is that when a new event is publish on the site [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/","article_modified_time":"2014-10-14T14:40:54+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/","name":"Making community events POST to an API? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-05-30T11:29:18+00:00","dateModified":"2014-10-14T14:40:54+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/making-community-events-post-to-an-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"Making community events POST to an API?"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/190177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/190177\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=190177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}