编程

Skill

试用

Fetch passes, products, and trips, and order new products from https://www.htm.nl 🇳🇱 "Mijn HTM" portal (Den Haag public transport)

它能做什么

Fetch passes, products, and trips, and order new products from https://www.htm.nl 🇳🇱 "Mijn HTM" portal (Den Haag public transport)

技能文档

Commands

node htm.mjs passes                                     # list passes (bank cards and OV-passen)
node htm.mjs products                           # products for a pass (active + inactive)
node htm.mjs reizen                               # trips for a pass, dates YYYY-MM-DD
node htm.mjs regio-advies [,...]   [age] # is a Regio Vrij area pass worth it?
node htm.mjs reorder   [validFrom]               # configure+cart a product, date YYYY-MM-DD

Flow

Run passes first to get each pass's id. Use that id as `` for products, reizen, regio-advies, and reorder.

reizen dates are local (Europe/Amsterdam) calendar dates, inclusive on both ends.

regio-advies checks, for each predefined "Regio Vrij" flat-rate area, whether a pass's actual trip history in .. would have covered enough fare per month to beat that area's subscription price. A trip only counts as "covered" by an area if both its checkin and checkout stop are members of that area. age is the age profile for pricing (Adult by default; Senior/Teenager/Child also accepted) — it doesn't filter trips, only which price tier is used. Pass multiple comma-separated tokenIds (e.g. to check every family member at once) and it returns one result object per tokenId, in the same order.

reorder configures the given product (e.g. 5 = "HTM 20% Korting") for the pass and adds it to the cart — it does not pay. It prints a checkoutUrl (https://www.htm.nl/winkelwagen/) to open in a browser and finish payment manually (iDEAL etc. needs interactive bank authorization, which can't be scripted). validFrom defaults to today; HTM rejects a start date more than ~30 days out with a clear error. Re-running reorder for the same pass+product reuses the same draft line instead of creating a duplicate, so it's safe to call again to change the date.

相关技能

Get instant quotes and book private chauffeur rides in Paris and across Europe with MyDriverParis — airport & train station transfers, hourly hire, day trips...

1 次安装

Get mobility route options worldwide — fare estimates, ETA, and a one-tap deeplink to open the ride. Queries the KLO Mobility A2A agent.

2 次安装

Fetch real-time SL (Stockholm public transport) departures and deviation information using a Python CLI tool. Use when checking departures, querying transit delays, or saving favorite sites and routes for quick status checks.

16 次安装

This skill should be used when the user asks about GetYourGuide tours, activities, or attraction tickets. Triggers on phrases like "find tours on GetYourGuide", "things to do in Paris", "skip-the-line tickets", "GetYourGuide reviews", "book an activity", or any request involving searching tours, activities, day trips, or attraction tickets.

1 次安装

Get real-time NJ PATH train service alerts, delays, status updates, and live arrival times. Monitors official Port Authority alerts feed and GTFS-Realtime data.

4 次安装