freebox_api_php/exemple.php

14 lines
375 B
PHP
Raw Normal View History

<?php
/// Require Composer AutoLoader
require_once 'vendor/autoload.php';
/// Define our application
2016-03-05 20:05:35 +01:00
$App = new \alphayax\freebox\utils\Application( 'com.alphayax.freebox.example', 'Freebox PHP API Exemple', '0.0.2');
$App->authorize();
$App->openSession();
2016-03-05 20:05:35 +01:00
$toto = new \alphayax\freebox\api\v3\services\config\DHCP( $App);
var_dump( $toto->get_current_configuration());