Skip to main content

Schiphol-API

A simple and lightweight Python client for interacting with the Schiphol Airport Public Flights API.

This package allows you to easily fetch flight, destination, airline, and aircraft type information from Schiphol Airport.


📦 Installation

Install the package via pip:

pip install schiphol-api

🚀 Quick Start

from schipholapi import SchipholAPI

# Initialize the API client with your app_id and app_key
api = SchipholAPI(app_id="your_app_id", app_key="your_app_key")

# Fetch a list of flights
flights = api.get_flights(page=0)

# Fetch details for a specific flight
flight_details = api.get_flight(flight_id="your_flight_id")

# Fetch a list of destinations
destinations = api.get_destinations()

# Fetch details for a specific destination
destination_details = api.get_destination(destination_id="your_destination_id")

# Fetch a list of airlines
airlines = api.get_airlines()

# Fetch details for a specific airline
airline_details = api.get_airline(airline_id="your_airline_id")

# Fetch a list of aircraft types
aircraft_types = api.get_aircraft_types()

# Fetch a list of flight IDs
flight_ids = api.get_flight_ids()

🔧 Available Methods

Method Description
get_flights(page=0, include_delays=False, sort_by="scheduleTime") Fetch a paginated list of flights
get_flight(flight_id) Fetch details about a specific flight
get_destinations(page=0, sort_by="publicName.english") Fetch a paginated list of destinations
get_destination(destination_id) Fetch details about a specific destination
get_airlines(page=0, sort_by="publicName") Fetch a paginated list of airlines
get_airline(airline_id) Fetch details about a specific airline
get_aircraft_types(page=0, sort_by="longDescription") Fetch a paginated list of aircraft types
get_flight_ids(page=0) Fetch a paginated list of flight IDs

🔑 Authentication

You need to register for an account at the Schiphol Developer Center to obtain your:

  • app_id
  • app_key

Use these credentials when initializing the SchipholAPI client.


✨ Future Improvements

  • Retry mechanism for API failures
  • Rate limit handling
  • Async support

Made with ❤️ for developers using Schiphol's open data


Release files for Schiphol-API 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Schiphol-API 0.0.5
File Size Uploaded
schiphol_api-0.0.5.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Schiphol-API 0.0.5
File Interpreter ABI Platform
schiphol_api-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / schiphol_api-0.0.5.tar.gz

Download URL schiphol_api-0.0.5.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
414e935d56d5f93e73793044bf1f26c23f4fd3397cd3b41fc592869834766e02
BLAKE2b-256 checksum
How to use checksums
37f0275221b408c00471c2a5ae25aabedbdc099dc948e00f1274e9b151021a13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / schiphol_api-0.0.5-py3-none-any.whl

Download URL schiphol_api-0.0.5-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f79b8c4e920fccef9c49fa90b7c1118e990188fb7f286925bf6f0e14098b630
BLAKE2b-256 checksum
How to use checksums
d7809749722090797be8f4be8c46cc10af00315df2194b9b0266bfb2d57d51ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page