Download the PHP package sokolnikov911/yandex-schedule without Composer
On this page you can find all versions of the php package sokolnikov911/yandex-schedule. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sokolnikov911/yandex-schedule
More information about sokolnikov911/yandex-schedule
Files in sokolnikov911/yandex-schedule
Package yandex-schedule
Short Description PHP Yandex Schedule (rasp) API client
License MIT
Homepage https://github.com/sokolnikov911/yandex-schedule
Informations about the package yandex-schedule
PHP Yandex Schedule (rasp) API client
Russian version of README you can find here: README_RU.md.
Yandex Schedule (rasp) API client.
Examples
Retrieving schedule between two stations (for example: New Your airport and Moscow Sheremetyevo)
Retrieving schedule by station (for example: Kyiv-Passazhyrsky railway station)
Retrieving stations list for selected route (for example: train Berdyansk - Kiev)
Retrieving carrier information (for example: Turkish Airlines)
Retrieving nearest stations
Retrieving yandex copyright block
Switching between data formats (XML and JSON available) and language versions (russian, ukrainian, turkish)
By default using JSON format and russian language.
Installing
Next, run the Composer command to install the latest stable version of yandex-schedule
After installing, you need to require Composer's autoloader:
You can then later update yandex-schedule using composer:
Requirements
This client requires at least PHP7 (yeahh, type hinting!) and Guzzle 6.
License
This library is licensed under the MIT License.