epetousis / SwiftPTV

A PTV Timetable framework written in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftPTV

CI Status Version License Platform Carthage compatible

Requirements

  • An API key and user ID from PTV. You can get one from here.

Installation

CocoaPods

SwiftPTV is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SwiftPTV'

Carthage

SwiftPTV is also available through Carthage. To install it, add the following line to your Cartfile:

github "evilgoldfish/SwiftPTV"

Run carthage update to build the framework and drag the newly built SwiftPTV.framework into your Xcode project.

Example

You can run the included example app by cloning the repository, opening SwiftPTV.xcodeproj and choosing the SwiftPTVExampleiOS scheme on the top left of the Xcode window.

Author

  • evilgoldfish

License

SwiftPTV is available under the MIT license. See the LICENSE file for more info.

Data License

The PTV Timetable API Data is licensed under a Creative Commons Attribution 4.0 International Licence. Data from Public Transport Victoria is not supplied with this framework, but using the PTV Timetable API Data requires the following attribution:

Source: Licensed from Public Transport Victoria under a Creative Commons Attribution 4.0 International Licence.

See the PTV website for more information.

About

A PTV Timetable framework written in Swift.

License:MIT License


Languages

Language:Swift 96.5%Language:Objective-C 2.3%Language:Ruby 1.3%