PHP code example of mobingilabs / fujitsu-k5-sdk

1. Go to this page and download the library: Download mobingilabs/fujitsu-k5-sdk 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/ */

    

mobingilabs / fujitsu-k5-sdk example snippets




5\Networking\Network;

(K5_USERNAME,K5_PASSWORD,K5_CONTRACT,false);


//list of all networks under JP East 1 Region
echo $networkClient->getNetworks('jp-east-1');

//Get details of a specific network
//Replace '53bdc6d8-fff8-46e2-b88e-bd9adb633609' with your own network id
echo $networkClient->getNetworksDetail('jp-east-1', '53bdc6d8-fff8-46e2-b88e-bd9adb633609');