Swiftpack.co - emma-k-alexandra/WMATA.swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by emma-k-alexandra.
emma-k-alexandra/WMATA.swift v8.3.0
WMATA.swift is a Swift interface to the Washington Metropolitan Area Transit Authority API
⭐️ 10
🕓 3 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/emma-k-alexandra/WMATA.swift.git", from: "v8.3.0")

WMATA.swift

WMATA.swift is a Swift interface to the Washington Metropolitan Area Transit Authority API.

Contents

Requirements

  • Swift 5.6
  • Xcode 13.2

Installation

Swift Package Manager

dependencies: [
    .package(
        name: "WMATA",
        url: "https://github.com/emma-k-alexandra/WMATA.swift.git", 
        .upToNextMajor(from: "14.0.0")
    )
]

Documentation

Full documentation is available at https://emma-k-alexandra.github.io/WMATA.swift/documentation/wmata/ or within Xcode.

To view documentation within Xcode, within the menu navigate to Product > Build Documentation. WMATA's documentation will appear under Workspace Documentation within the Developer Documentation window. Navigate to Window > Developer Documentation to open this window.

Dependencies

Contact

Feel free to email questions and comments to [email protected]

Contributing

Todo:

  • ☐ Build out more DVR tests
  • ☐ Last Train times (API doesn't provide full information here)
  • ☐ Automated builds

Developer

To generate documentation for deploying to Github Pages, run ./docs.sh.

License

WMATA.swift is released under the MIT license. See LICENSE for details.

GitHub

link
Stars: 10
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Related Packages

Release Notes

Update Station Names
3 weeks ago

Match Station names to WMATA's new station names.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics