Open BeMain opened 3 weeks ago
Hi! It's been quite a long time since I used this package, so unfortunately I can not help you with this.
Okay, thanks anyway. I messed around a bit more, and figured out the following (for future reference):
The query consists of two parts, separated by a comma (,
). The first part specifies the start of the range, relative to the current date, and the second part specifies the duration of the range.
Each part consists of a number and a letter, separated by a dot (e.g. 3.w
). The letter specifies the type of duration (m
=month, w
=week), and the number specifies how many of those durations.
For example, -3.w,2.w
means: all events during a two-week period, starting 3 weeks back in time... I think :)
Thanks for this great little package! I am trying to figure out a way to query reservations for a specific time period. In the request, there is a parameter named
p
that seems to specify some kind of period, but I'm having a hard time figuring out how to format that string... Maybe you have an idea.I can request a number of weeks in the future by simply specificying a number (e.g.
'p': 3
), but I would also like to be able to specify a number of weeks in the past, and preferably a range that does not necessarily include the current week. Any clues? Thanks!