2017 © Pedro Peláez
 

library openligadb-api

PHP API to OpenLigaDB

image

andinger/openligadb-api

PHP API to OpenLigaDB

  • Tuesday, April 5, 2016
  • by andinger
  • Repository
  • 2 Watchers
  • 2 Stars
  • 1,511 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 11 % Grown

The README.md

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., (*1)

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, (*2)

Further Information

See http://www.openligadb.de for further information, (*3)

The Versions

05/04 2016

dev-master

9999999-dev

PHP API to OpenLigaDB

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-soap *

 

by Andreas Kessler

api sport openligadb

05/04 2016

1.0.6

1.0.6.0

PHP API to OpenLigaDB

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-soap *

 

by Andreas Kessler

api sport openligadb

05/04 2016

1.0.5

1.0.5.0

PHP API to OpenLigaDB

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-soap *

 

by Andreas Kessler

api sport openligadb

31/03 2016

1.0.4

1.0.4.0

PHP API to OpenLigaDB

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-soap *

 

by Andreas Kessler

api sport openligadb

30/03 2016

1.0.3

1.0.3.0

PHP API to OpenLigaDB

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-soap *

 

by Andreas Kessler

api sport openligadb

30/03 2016

1.0.2

1.0.2.0

PHP API to OpenLigaDB

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-soap *

 

by Andreas Kessler

api sport openligadb

30/03 2016

1.0.1

1.0.1.0

PHP API to OpenLigaDB

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-soap *

 

by Andreas Kessler

api sport openligadb

30/03 2016

1.0.0

1.0.0.0

PHP API to OpenLigaDB

  Sources   Download

by Andreas Kessler