• grue@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    11 hours ago

    It depends on the transit service, and how much their IT people suck. I’m pretty sure there have been multiple attempts to make standardized APIs for this sort of thing, but you shouldn’t necessarily expect them to be widely used except maybe in Europe.

    Do a web search for “[transit service name] API” and start from there.

    Edit: My local transit service apparently publishes a GTFS feed, which may be more widespread than I assumed, but I’m honestly kinda surprised they didn’t try to roll their own or something stupid like that.