Skip to content

Schickli/padel-reserver

Repository files navigation

padel-reserver

Automates Playtomic padel court booking. Periodically opens a club page, selects your court and time slot, picks the duration, and clicks "Continue".

Quick start

npx padel-reserver \
  --url "https://playtomic.com/clubs/your-club?q=PADEL~2026-04-10~~~" \
  --court "Green Double" \
  --time "22:00" \
  --duration "2h"

On the first run Playwright will download a Chromium browser automatically.

Parameters

Parameter Required Default Description
--url Yes Playtomic club page URL (see below)
--court Yes Court name as shown on the page (e.g. "Green Double")
--time Yes Time slot in HH:MM format (e.g. "22:00")
--duration No 1h Booking duration: 1h, 1.5h, or 2h
--interval No 7 Minutes between attempts
--headless No off Run the browser without a visible window
--attach No off Connect to an existing Chrome instead of launching one

Choosing the booking day

The booking date is part of the URL. To pick a different day:

  1. Open your club's page on playtomic.com
  2. Navigate to the day you want to book
  3. Copy the URL from your browser's address bar and pass it as --url

The date sits in the query string (e.g. ?q=PADEL~2026-04-10~~~).

Login

The tool does not handle credentials. On the first run it opens a fresh Chromium window where you are not logged in. Log into your Playtomic account in that window — the tool retries at the configured interval so just finish logging in before the next attempt.

To reuse an existing login session, launch Chrome with remote debugging and use --attach:

# 1. Start Chrome with debugging enabled
chrome --remote-debugging-port=9222

# 2. Log into Playtomic in that Chrome window

# 3. Run the tool in attach mode
npx padel-reserver \
  --url "https://playtomic.com/clubs/your-club?q=PADEL~2026-04-10~~~" \
  --court "Green Double" \
  --time "22:00" \
  --attach

In attach mode the tool only opens and closes tabs — it never closes your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors