rrgeng / openligadb
Client library for OpenLigaDB Soap Service
0.0.4
2020-12-08 05:10 UTC
Requires
- php: >=5.3.3
- ext-mbstring: *
- ext-soap: *
- wsdltophp/packagebase: ~2.0
README
This library provides a simple wrapper to the OpenLigaDB SOAP service.
Website: https://www.openligadb.de/
Installation
composer require rrgeng/openligadb
Quickstart
require_once '../vendor/autoload.php'; use \WsdlToPhp\PackageBase\AbstractSoapClientBase; $options = array( AbstractSoapClientBase::WSDL_URL => 'https://www.openligadb.de/Webservices/Sportsdata.asmx?WSDL', AbstractSoapClientBase::WSDL_CLASSMAP => \RrGeng\OpenligaDB\ClassMap::get(), ); $get = new \RrGeng\OpenligaDB\ServiceType\Get($options); if ($get->GetAvailLeagues(new \RrGeng\OpenligaDB\StructType\GetAvailLeagues()) !== false) { print_r($get->getResult()); } else { print_r($get->getLastError()); }
API Overview
A full documentation and samples can be found here.
Acknowledgement
https://github.com/WsdlToPhp/PackageGenerator
License
The MIT License (MIT). Please see License File for more information.