Get past events from REST API

Home Forums Welcome! Pre-Sales Questions Get past events from REST API

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1564880
    Marco Blumendorf
    Guest

    Hello,

    I understand that the REST API allows to get events as JSON objects.
    Does it also allow to query past events?

    Thanks,
    Marco

    #1564886
    Marco Blumendorf
    Guest

    start_date and end_date do the trick.
    e.g. …/wp-json/tribe/events/v1/events?start_date=2018-06-01&end_date=2018-07-01&per_page=5

    The requests do seem to time out frequently when the date range gets to big though.

    #1565072
    Jeremy
    Keymaster

    Hi Marco,

    Thank you for your interest in our plugin!

    I’m glad you found an answer to your question. Thank you by the way for having shared that solution publicly!

    I’m closing this thread but feel free to start a new one if you have further questions 🙂

    Cheers,
    Jeremy

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Get past events from REST API’ is closed to new replies.