Skip to content

This Is the official Scoutnet Webservice Lib

Notifications You must be signed in to change notification settings

scoutnet/plugins.sn_webservice

Repository files navigation

Codecov Build Status Packagist Packagist Packagist

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

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

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);