<?php
// include iota lib
require_once("../iota.php");
// create client
$client = new iota('https://api.lb-0.testnet.chrysalis2.com');Each methode with "echo" will return a json string
echo $client->info();Each method returns an object to get the direct parameter
$info = $client->info();
echo $info->name;Short example
echo ($client->info())->name;To work with an Array, you can user (array)
$array = (array)$client->info();Please find other examples in the examples folder.
<- Back to Overview
