scoutnet/sn-webservice

This class is needed to comunicate with the scoutnet.de server.

1.0.3 2020-06-20 18:23 UTC

This package is auto-updated.

Last update: 2021-05-23 19:25:51 UTC


README

ScoutNet Api Webservice

With this lib you can read and write ScoutNet Kalender Events and read ScoutNet Index Elements. It is used by different Plugins for Typo3, Joomla, Wordpress and MediaWiki.

Install

run

composer require "scoutnet/sn-webservice:^1.0"

to install ScoutNet Api Webservice.

run

composer dumpautoload

to regenerate autoloader script.

Use API

ReadApi:

// load Autoloader from composer
require_once('vendor/autoload.php');

// reading Elements from the API with this code:
$scoutNetApi = new \ScoutNet\Api\ScoutnetApi();
$events = $scoutNetApi->get_events_for_global_id_with_filter(4, ['limit' => 3]);

print_r($events);