Download the PHP package andinger/openligadb-api without Composer
On this page you can find all versions of the php package andinger/openligadb-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download andinger/openligadb-api
More information about andinger/openligadb-api
Files in andinger/openligadb-api
Download andinger/openligadb-api
More information about andinger/openligadb-api
Files in andinger/openligadb-api
Please rate this library. Is it a good library?
Informations about the package openligadb-api
OpenLigaDb Api
Wraps the SOAP-based API of http://www.openligadb.de/ and returns easy-to-use PHP-Objects Currently not all provided methods are supported by this little project. Feel free to fork and add the missing methods by a pull-request.
Installation
composer require andinger/openligadb-api
Usage
1. Create a new Client-Object
// use the standard wsdl url
$client = new Andinger\OpenLigaDbApi\Client();
// use another wsdl url
$client = new Andinger\OpenLigaDbApi\Client('https://my.custom.wsdl.url.com/...wsdl');
// use additional SoapClient-Config
// @see http://php.net/manual/de/soapclient.soapclient.php for further information
$options = [
'local_cert' => 'cert_key.pem'
];
$client = new Andinger\OpenLigaDbApi\Client('https://my.custom.wsdl.url.com/...wsdl', $options);
2. Call the methods
$client->getAvailableLeagues()
$client->getAvailableSports()
$client->getAvailableGroups($league, $season)
$client->getAvailableLeaguesBySport($sportId)
$client->getGoalsByMatch($matchId)
$client->getGoalsByLeagueSeason($league, $season)
$client->getCurrentGroup($league)
$client->getMatchesByGroupLeagueSeason($groupOrderId, $league, $season)
$client->getMatchesByLeagueSeason($league, $season)
$client->getTeamsByLeagueSeason($league, $season)
$client->getMatchesByTeams($teamId1, $teamId2)
All methods in the Client-Class are documented
Further Information
See http://www.openligadb.de for further information
All versions of openligadb-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
ext-soap Version *
ext-soap Version *
The package andinger/openligadb-api contains the following files
Loading the files please wait ....