Usage

Data

Gatelogue data is compiled into a SQLite database. Its schema / data format is at Data Format.

Important

Do not hardcode any IDs in your project! They change with every update. If you need to reference a specific object, find it by its code/name/something unique to the object.

Raw

Use a HTTP GET request to https://raw.githubusercontent.com/MRT-Map/gatelogue/dist/data-ns.db to retrieve the data.

A version with sources is available, at https://raw.githubusercontent.com/MRT-Map/gatelogue/dist/data.db

gatelogue-types (Python)

See the API reference for gatelogue_types.

gatelogue-types (Rust)

See the docs for gatelogue-types (Rust).

gatelogue-types (TypeScript)

See the docs for gatelogue-types (TypeScript).

Aggregator

The aggregator can be installed wih pipx (pip or uvx is fine too): pipx install git+https://github.com/mrt-map/gatelogue#subdirectory=gatelogue-aggregator.

See Command Line.