Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Iaotle/IND-Appointment-Checker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2
Choose a base ref
...
head repository: Iaotle/IND-Appointment-Checker
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 5 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 4, 2023

  1. Update README.md

    Iaotle authored Oct 4, 2023
    Copy the full SHA
    d9a73b2 View commit details
  2. Update README.md

    Iaotle authored Oct 4, 2023
    Copy the full SHA
    6c377a9 View commit details
  3. Update README.md

    Iaotle authored Oct 4, 2023
    Copy the full SHA
    b30a05b View commit details
  4. Update README.md

    Iaotle authored Oct 4, 2023
    Copy the full SHA
    23a223f View commit details

Commits on Oct 1, 2024

  1. update URL

    Iaotle committed Oct 1, 2024
    Copy the full SHA
    3f05c81 View commit details
Showing with 9 additions and 7 deletions.
  1. +7 −5 README.md
  2. +2 −2 main.py
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# IND Appointment Checker

(On Python)

## Are you tired of having an appointment scheduled in 2 months?

This script allows you to query the IND API and find the earliest appointment possible.
It will check every 5 seconds, which will usually guarantee you an appointment the very next day if someone cancels.

(Keep in mind this only checks for available appointments, you have to book it yourself)

## Quickstart

Unfortunately, online Python interpreters are blocking network for the code because of abuses.
So the local interpreter is needed to run this code.

### Download Latest Release:

[Windows](https://github.com/Iaotle/IND-Appointment-Checker/releases/latest/download/windows.exe) (due to the tool used to package the release into one file it might be flagged by your antivirus)

[Linux](https://github.com/Iaotle/IND-Appointment-Checker/releases/latest/download/linux)
## Quickstart

If you have a Python interpreter you can do the following steps (otherwise read the next subsection first):

4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ class ExternalResourceHasChanged(Warning):
)

CALENDLY_API_RESOURCE_PATH = 'https://calendly.com/api/booking/'
IND_API_URL_TEMPLATE = 'https://oap.ind.nl/oap/api/desks/{}/slots/?productKey={}&persons={}'
IND_API_URL_TEMPLATE = 'https://oap.ind.nl/oap/api/desks/{}/slots?productKey={}&persons={}'

IND_DATE_FORMAT = '%Y-%m-%d'
INPUT_DATE_FORMAT = '%Y-%m-%d'
@@ -253,7 +253,7 @@ def get(location: str, appointment_type: str, num_people: str, date: str) -> str

url = url_generation(location, appointment_type, num_people, date, date_object)

# print('Requesting', url)
print('Requesting', url)
request = urllib.request.Request(
url, data=None,
headers={