Doctolib whoami (signed-in account)
Report which Doctolib patient account this browser is signed in as: the account holder's name and email. When the browser is signed out, the run fails with a signed-out error that says to sign in to Doctolib, so it can be used to check a session before running other Doctolib scripts.
Input
None
Output
name requiredThe account holder's name.
email requiredThe account's email.
loggedIn requiredAlways true: a signed-out browser fails with a signed-out error.
FAQ
Search Doctolib practitioners
Search Doctolib practitioners by specialty and location. Returns total, page, and providers with full_name, specialty, address, sector, payment_means, languages, telehealth, online_booking, matched_visit_motive, and profile_path. There are 20 providers per page and the order is server-ranked; profile_path (including ?pid=practice-N) is the join key for get_practitioner and list_slots.
List Doctolib slots
List a Doctolib practitioner's bookable appointment slots for one visit motive over a window of up to 15 days (Doctolib's limit); for a longer span, call again with a later start_date. Returns name, motive, bookable, availabilities (slots by day), total, next_slot (the next slot after an empty window), visit_motives, and booking_url. A motive name that matches several motives, an unknown motive id or an unknown profile fails with a message saying what to pass; pass motive_id to target one motive exactly. booking_url only opens the booking funnel; there is no per-slot link.
Doctolib location autocomplete
Doctolib place suggestions for a free-text location (city, neighborhood, street): each with the label and city as Doctolib shows them, the context line, the address for a street, the country and the Google place id. Returns [] when Doctolib suggests nothing.
