Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 395 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 395 Bytes

php-sdk

ToS;DR PHP SDK to interact with our API

Installation

composer require tosdr/php-sdk

Usage

Get a Service

<?php

require_once __DIR__ . '/vendor/autoload.php';

use tosdr\api\Service;

$Service = Service::get(182); # Facebook

echo $Service->getName(); # Facebook
echo $Service->getSlug(); # facebook
echo $Service->getPoints(); # array of points