Skip to content

Calendar - Person availability (Scheduling) #994

Answered by Verth-Elone
Verth-Elone asked this question in Q&A
Discussion options

You must be logged in to vote

I must have missed the answer on that in the documentation while looking there for the first time.

It's the get_free_busy_info method of the protocol class. For example:

infos = Account(...).protocol.get_free_busy_info(
    accounts=[
        (Account(...), 'Organizer', False),
        (Account(...), 'Required', False),
        (Account(...), 'Optional', False)
    ],
    start=<datetime>,
    end=<datetime>
)

for info in infos:
    print(info)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Verth-Elone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant