morugu / timetree-sdk-python

TimeTree API SDK for Python
13 stars 3 forks source link

get upcoming events for 30 days #3

Closed Eddie425 closed 3 years ago

Eddie425 commented 3 years ago

Hi just wondering is that possible to get upcoming events for 30 days?

morugu commented 3 years ago

@Eddie425 yes. please try following code.

events = api.get_upcoming_events('CALENDAR_ID', 'Asia/Tokyo', 30)
Eddie425 commented 3 years ago

Thanks, I will try this.

morugu commented 3 years ago

@Eddie425 Sorry, I misunderstood. upcoming events days range is 1 - 7. Unfortunately it is difficult.

Eddie425 commented 3 years ago

Got it, I will find the other way...Thanks a lot😁