rrgeng/openligadb

Client library for OpenLigaDB Soap Service

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/rrgeng/openligadb

0.0.4 2020-12-08 05:10 UTC

This package is auto-updated.

Last update: 2025-12-10 02:20:53 UTC


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.