pastorhudson / pcobot

PCO Bot is a bot that integrates with the Planning Center Online API. It's built on Will Bot.
MIT License
14 stars 12 forks source link

Add historical services to !setlist using new api filter #54

Open pastorhudson opened 6 years ago

pastorhudson commented 6 years ago

Planning Center has added a before and after filter. https://github.com/planningcenter/developers/issues/486

We should be able to use this to quickly query Service plans.

pastorhudson commented 5 years ago

This is how to get a single date: https://api.planningcenteronline.com/services/v2/service_types/173868/plans?filter=after,before&sort=sort_date&after=2018-11-10T00:00:00.000Z&before=2018-11-12T03:59:59.999Z

I'm adding this here so I don't forget.