Skip to content
RESTful API to get back occurrences of RRULEs that conform to RFC 5545
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CNAME
Gemfile
README.md
_config.yml
handler.rb
index.md

README.md

Expand RRULEs via API

Get individual occurrences of any RRULE directly via API (api.rrules.com). The API backend is deployed on AWS Lambda, and relies on the ruby-rrule gem. Try it yourself, see example below!

curl -X POST https://api.rrules.com/rrule_expand -d '{"rrule":"FREQ=DAILY;COUNT=3", "start_time":"2019-03-05 00:46:42 -0800", "end_time":"2019-06-05 00:46:42 -0800"}'

Query Parameters

param Details Required
rrule Pass in an RRULE that conforms to RFC 5546 Yes
start_time Pass in a start_time that can be parsed by Ruby's Time.parse method Yes
end_time Pass in a start_time that can be parsed by Ruby's Time.parse method No (defaults to 1.year.from_now)
time_zone Example: America/Los_Angeles No (defaults to UTC)

Support or Contact

Having trouble with the API? Please create an issue and I will do my best to be responsive, quickly. If you plan to hit the API with more than a couple thousand requests a day, please let me know first.

You can’t perform that action at this time.