JSON-LD

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #944594
    nsidhom
    Participant

    How do I access the JSON feed? I need to send it to my app developer, but couldn’t figure it out.

    Thanks!

    #944710
    George
    Participant

    Hey @nsidhom,

    At this time, The Events Calendar unfortunately does not have a JSON feed that it generates. WordPress itself doesn’t either, in fact.

    This is something that’s actively being worked on in WordPress core, a JSON API is being developed for WordPress Core by some great developers. Maybe at some point in the future, when that’s a part of Core, The Events Calendar can integrate with it and this will be simpler.

    However, at this time the best option for generating JSON feeds from your WordPress installation is to try and find a plugin that does so. You can search for some on the WordPress.org plugins repository → https://wordpress.org/plugins/search.php?q=json+feed

    Another option that might be worth exploring is to check out that in-development JSON API for WordPress Core itself – the project is under active development and so I can’t confirm how stable/reliable it is, but it’s pretty far along and quite flexible. You can learn more about this project and learn about implementing the code (as well as finding the code on GitHub) by checking out the project homepage here → http://wp-api.org/

    Sorry to disappoint @nsidhom – note that there are the default RSS/XML feeds for Events like normal within WordPress, it’s just a custom JSON feed that currently is not something we have.

    Let me know if you have any other questions or concerns!

    Cheers,
    George

    #944754
    nsidhom
    Participant

    The JSON Rest plugin seems stable, but it is not delivering a lot of important information, such as start time or location. Any ideas on how to pull that info?

    http://www.noahsidhom.com/wp-json/posts?type=tribe_events

    #944939
    George
    Participant

    Hey @nsidhom,

    I’m sorry, but unfortunately I do not know how to add that information to the JSON output. If there’s a way to add post meta information in general to the output of WP-API, then you should be able to take those methods/principles and use them to get the event-specific post meta for events like _EventStartDate and such. This seems to be possible, for example, check out the “retrieve a meta” section on the wp-api.org documentation and play around with this → http://wp-api.org/#posts_retrieve-a-meta-for-a-post

    I hope that helps!

    — George

    #983777
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘JSON-LD’ is closed to new replies.