trafiklab

Crates.iotrafiklab
lib.rstrafiklab
version0.0.2
created_at2025-11-24 20:24:03.818865+00
updated_at2025-11-25 23:49:50.280999+00
descriptionUnofficial Rust SDK for Trafiklab APIs
homepage
repositoryhttps://github.com/VincentBrodin/trafiklab-rs
max_upload_size
id1948631
size683,262
Vincent Brodin (vincbro)

documentation

README

Trafiklab Rust SDK (Unofficial)

This project aims to provide a clean, async, and well-typed Rust interface to all Trafiklab endpoints.

[!WARNING] This project is in very early development and is not yet ready for production use. Many endpoints and features are still being designed or implemented. If this SDK is something you're interested in using, or if you want to help get it up and running sooner please consider contributing!
Issues, pull requests, and suggestions are all highly appreciated.

Usage

GTFS Svergie 2

[!NOTE] Cooming soon.

GTFS Regional

[!NOTE] Cooming soon.

GTFS Sweden 3

[!NOTE] Cooming soon.

SL

[!NOTE] Cooming soon.

ResRobot

Route planner

let res = trafiklab::resrobot::RouteRequest::new(
    "API_KEY".into(),
    Location::Id("740000001".to_string()),
    Location::Id("740000003".into()),
)
.send()
.await?;

Roadmap

Current Endpoint: ResRobot Route planner

  • GTFS Svergie 2

  • GTFS Regional

    • Static
    • Realtime
  • GTFS Sweden 3

    • Static
    • Realtime
  • SL

    • SL Transport
    • SL Deviations
    • SL Journey-planner v2
  • ResRobot v2.1

    • ResRobot Timetables
    • ResRobot Route planner
    • ResRobot Stop lookup
    • ResRobot Nearby stops
    • ResRobot Deep Links

Contributing

Contributions, bug reports, and suggestions are welcome! The end goal is to make this crate a high-quality, community-driven SDK that Trafiklab may one day adopt officially.

Commit count: 0

cargo fmt