WMATA.swift is a Swift interface to the Washington Metropolitan Area Transit Authority API.
- Swift 5.5
- Xcode 13.2
dependencies: [
.package(
name: "WMATA",
url: "https://github.com/emma-k-alexandra/WMATA.swift.git",
.upToNextMajor(from: "13.0.0")
)
]
Full documentation is available within Xcode, or on the web in a slightly broken form. Thanks DocC!
- GTFS
- swift-protobuf, for GTFS-RT feeds.
- DVR, for testing.
Feel free to email questions and comments to emma@emma.sh
Todo:
- Improve GTFS support with better decoding
- Build out more DVR tests
- Last Train times (API doesn't provide full information here)
- Automated builds
WMATA.swift is released under the MIT license. See LICENSE for details.