Download the PHP package carlosafonso/emt-sdk-php without Composer
On this page you can find all versions of the php package carlosafonso/emt-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download carlosafonso/emt-sdk-php
More information about carlosafonso/emt-sdk-php
Files in carlosafonso/emt-sdk-php
Package emt-sdk-php
Short Description Unofficial PHP SDK for Madrid's EMT OpenData API
License MIT
Homepage https://github.com/carlosafonso/emt-sdk-php
Informations about the package emt-sdk-php
emt-sdk-php
An unofficial PHP SDK for Madrid's municipal bus company (EMT) OpenData API.
Install
Via Composer
Usage
You'll need a set of authentication credentials issued by the EMT OpenData team. These credentials can be obtained here: http://opendata.emtmadrid.es/Formulario.
Create an instance of the SDK client passing the credentials described above:
Then call any of the available methods:
Which should output something like this (truncated for readability):
Each web service has its own client implementation:
Available methods
The current version of this library exposes all API endpoints from the BUS web service (http://opendata.emtmadrid.es/Servicios-web/BUS).
Additional services are expected to be implemented soon.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Carlos Afonso
- All Contributors
License
The MIT License (MIT). Please see License File for more information.