PHP code example of fredbradley / socs-php
1. Go to this page and download the library: Download fredbradley/socs-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
fredbradley / socs-php example snippets
$config = new FredBradley\SOCS\Config($socsId, $apiKey);
$socs = new FredBradley\SOCS\CoCurricular($config);
// Get All Clubs from CoCurricular
$clubs = $socs->getClubs();
// Get all Events from CoCurricular
$events = $socs->getEvents();
// ... more documentation to follow
bash
composer