Home › Forums › Calendar Products › Events Calendar PRO › Retrieving events via REST API
- This topic has 4 replies, 3 voices, and was last updated 6 years, 7 months ago by Courtney.
-
AuthorPosts
-
October 11, 2015 at 11:21 am #1013533J HuffmanParticipant
Hello,
Is there a REST API available for retrieving a list of our events? I’ve installed the WP REST API plugin and am trying to retrieve events with the
/wp-json/wp/v2/posts?post_type=tribe_events
query but it doesn’t return events. Is there a different way to go about this?Thanks,
LeeOctober 12, 2015 at 6:04 am #1013607BrianKeymasterHi,
Thanks for using our plugins.
We do not support the REST API so there is no way to access the events custom post type without adding coding to your site to do it.
It is something we are interested in adding support for now that part of the API is going to be included in WordPress 4.4.
I do not have a timeline when that support might happen and it will not be included in our next release as that coding is already finalized and in testing.
Let me know if you have any follow up questions.
Thanks
October 12, 2015 at 9:44 am #1013736J HuffmanParticipantOof. That’s a pretty big bummer. Guess I’ll be forced to hack around this.
October 12, 2015 at 1:34 pm #1013814BrianKeymasterSorry to bum you out. Once it is fully part of core we can begin supporting it.
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
September 25, 2017 at 11:30 am #1354427CourtneyMemberHey there
Just posting a quick update that we’ve just launched The Events Calendar – Full REST Support. You can read the release notes at https://theeventscalendar.com/release-events-calendar-full-rest-support/.
We also published a helpful guide: Introduction to The Events Calendar REST API https://theeventscalendar.com/knowledgebase/introduction-events-calendar-rest-api/ .
We’re excited to provide this functionality for you.
Thanks
Courtney 🙂 -
AuthorPosts
- The topic ‘Retrieving events via REST API’ is closed to new replies.