Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 855 Bytes

README.MD

File metadata and controls

37 lines (26 loc) · 855 Bytes

Doctolib Monitor

Prerequisites

  1. Create a free account at https://twilio.com and request a phone number.

  2. Create a .env file in the root directory with the following content and replace the empty strings with your own:

    TWILIO_ACCOUNT_SID=""
    TWILIO_AUTH_TOKEN=""
    TWILIO_PHONE_NUMBER=""
    SMS_RECIPIENT=""

Installation

npm install
npm run build

Usage

npm start -- --id [DOCTOLIB_ID]

Options

Option Description Default
--id The id of the doctor.
--timeout The timeout in seconds. 30

How to get the doctor id

Visit the doctor's page on Doctolib web site and copy the id from the url. For example, if the url is https://www.doctolib.fr/medecin-generaliste/paris/jean-michel the id is jean-michel.