Skip to content

Book Paris tennis court (include CAPTCHA bypass)

License

Notifications You must be signed in to change notification settings

bertrandda/par-ici-tennis

Repository files navigation

par-ici-tennis (Paris i tennis)

Script to automatically book a tennis court (on https://tennis.paris.fr)

NOTE: They recently added a CAPTCHA during reservation process. The latest version should pass through. If it fails, open an issue with error logs, I will try to find an other way.

Get started

Create config.json file from config.json.sample and complete with your preferences.

location: a list of courts ordered by preference - full list

date a string representing a date formated D/M/YYYY, if not set the date 6 days in future is used

hours a list of hours ordered by preference

priceType an array containing price type you can book Tarif plein and/or Tarif réduit

courtType an array containing court type you can book Découvert and/or Couvert

players list of players 3 max (without you)

To pass the payement phase without trouble you need a "carnet de réservation", be carefull you need a "carnet" that maches with your priceType & courtType combination selected previously

To run this project locally, install the dependencies

npm install

and run the script:

npm start

To test your configuration, you can run this project in dry-run mode. It will check court availability but no reservations will be made:

npm run start-dry

You can start script automatically using cron or equivalent

About

Book Paris tennis court (include CAPTCHA bypass)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published