đ
đ€
passport-appointment-bot Bot to automatically find and book an appointment for renewal/creation of a Swedish passport or national identity card.
Bott som automatiskt söker och bokar första lediga tid för att förnya pass eller nationellt id kort.
â ïž
For educational use only
â ïž
What does it do?
The bot searches for available appointments until one is found, it then tries to book the appointment. The bot will run until an appointment is successfully booked.
The bot can be configured to search for appointments in a specific region & in one or more cities at a time.
It can also be configured to run several concurrent booking sessions in order to increase searching speed & search multiple locations at the same time.
How to run
Download config.json
& passport-appointment-bot
for your OS from the latest release, place them in the same folder.
- Edit the configuration file you downloaded (
config.json
) with text editor of choice, see Configuration - Run the executable you downloaded
passport-appointment-bot
- The bot will automatically exit when an appointment is booked
- A booking confirmation should be sent to the configured email and will also be displayed in the program
Run from source
Requires Nodejs (Tested on v17.7.1)
- Clone the project, install dependencies with
npm install
- Edit configuration values in
config.json
, see Configuration - Run the bot with
npm start
- The bot will automatically exit when an appointment is booked
- A booking confirmation should be sent to the configured email and will also be displayed in the console
Configuration
All options are required
Option | Description |
---|---|
region | Desired region, see Supported Regions & Locations |
locations | One or more cities/locations, see Supported Regions & Locations |
max_date | Last date to search for appointment (will search all days in the week of the specified date) |
Your email (confirmation email will be sent to this address) | |
phone | Your phone number |
firstname | Your first name |
lastname | Your last name |
type | Type of booking (passport for passport, or id for identity card) |
sessions | Number of concurrent booking sessions to run, higher number equals faster checking of available times and opens up for checking several locations in parallel, (will still only book one appointment in the end) (max 6) |
Good to know
Only one appointment can be booked per email and phone number.
Related projects
- Pass-fur-alle - Python & Selenium solution by @jonkpirateboy
- passport_booker_se - Python based solution by @elias123tre
Supported Regions & Locations
Supported regions & locations can also be found in the src/locations.js
file.
Blekinge
- Karlshamn
- Karlskrona
Dalarna
- Avesta
- BorlÀnge
- Ludvika
- Mora
Gotland
- Visby
GĂ€vleborg
- BollnÀs
- GĂ€vle
- Hudiksvall
Halland
- Falkenberg
- Halmstad
- Kungsbacka
- Varberg
JĂ€mtland
- FunÀsdalen
- Strömsund
- Sveg
- Ă re
- Ăstersund
Jönkoping
- Eksjö
- Jönköping
- VĂ€rnamo
Kalmar
- Kalmar
- Oskarshamn
- VĂ€stervik
Kronoberg
- Ljungby
- VÀxjö
- Ălmhult
Norrbotten
- Arvidsjaur
- Boden
- GĂ€llivare
- Haparanda
- Kalix
- Kiruna
- LuleÄ
- PiteÄ
SkÄne
- Eslöv
- Helsingborg
- HĂ€ssleholm
- Klippan
- Kristianstad
- Landskrona
- Lund
- Malmö
- Trelleborg
- Ystad
- Ăngelholm
Stockholm
- Flemingsberg
- Globen
- Haninge
- JĂ€rva
- Nacka
- NorrtÀlje
- Sollentuna
- Solna
- Sthlm City
- SödertÀlje
- Södra Roslagen
Södermanland
- Eskilstuna
- Katrineholm
- Nyköping
- Skavsta
- StrÀngnÀs
Uppsala
- Enköping
- Tierp
- Uppsala
- Ăsthammar
VĂ€rmland
- Arvika
- Karlstad
- Kristinehamn
- Torsby
VĂ€sterbotten
- Lycksele
- SkellefteÄ
- Storuman
- UmeÄ
- Vilhelmina
VĂ€sternorrland
- HÀrnösand
- Kramfors
- SollefteÄ
- Sundsvall
- Ă nge
- Ărnsköldsvik
VĂ€stmanland
- Fagersta
- Köping
- Sala
- VÀsterÄs
VÀstraGötaland
- AlingsÄs
- BorÄs
- Falköping
- Göteborg
- Lidköping
- Mariestad
- Mark/Kinna
- Mölndal
- Skövde
- Stenungsund
- Strömstad
- TrollhÀttan
- Uddevalla
- Ulricehamn
- à mÄl
Ărebro
- Hallsberg
- Karlskoga
- Lindesberg
- Vivalla
- Ărebro
Ăstergötland
- Linköping
- Motala
- Norrköping