jdpowered/geofox-gti-client

0.2.0 2018-09-04 18:41 UTC

This package is auto-updated.

Last update: 2024-09-06 09:54:56 UTC


README

🚧 该项目仍在早期开发阶段,尚未准备好用于生产使用。🚧

Latest Stable Version Latest Unstable Version Build Status StyleCI License

Geofox GTI 客户端

PHP 对 Hamburg 公共交通数据的 Geofox Thin Interface (GTI) 的包装。

待办事项

该项目仍在早期开发阶段,尚未准备好用于生产使用。只有

API 方法

  • init
    • 请求
    • 响应
  • checkName
    • 请求
    • 响应
  • getRoute
    • 请求
    • 响应
  • departureList
    • 请求
    • 响应
  • getTariff
    • 请求
    • 响应
  • departureCourse
    • 请求
    • 响应
  • listStations
    • 请求
    • 响应
  • listLines
    • 请求
    • 响应
  • getAnnouncements
    • 请求
    • 响应
  • checkPostalCode
    • 请求
    • 响应
  • getVehicleMap
    • 请求
    • 响应
  • getTrackCoordinates
    • 请求
    • 响应
  • getIndividualRoute
    • 请求
    • 响应

枚举

  • AnnouncementFilterPlannedType
  • AnnouncementReason
  • AttributeType
  • ButtonType
  • CoordinateType
  • ElevatorState
  • ExtraFareType
  • FilterType
  • FilterServiceType
  • Language
  • LineModificationType
  • LocationType
  • ModificationType
  • Platform
  • RealtimeType
  • ReturnCode
  • SdType
  • SegmentSelector
  • SimpleServiceType
  • TariffRegionType
  • VehicleType

对象

  • Announcement
  • Attribute
  • ContSearchByServiceId
  • Coordinate
  • Departure
  • FilterEntry
  • GtiTime
  • JourneySdName
  • Link
  • Location
  • RegionalSdName
  • Schedule
  • ScheduleElement
  • SdName
  • Service
  • ServiceType
  • StationListEntry
  • TariffDetails
  • TariffInfo
  • TariffInfoSelector
  • TariffRegionInfo
  • TariffRegionList
  • TicketInfo

安装

composer require jdpowered/geofox-gti-client

使用

[待办]

安全漏洞

如果您在 Geofox GTI 客户端中发现安全漏洞,请通过 hello@jd-powered.net 发送电子邮件给 Jonas Döbertin。所有安全漏洞都将得到及时解决。

许可

此 Geofox GTI 客户端是开源软件,受 MIT 许可证 许可。