static function GetNym_Name($NYM_ID) { return OTAPI_Basic_GetNym_Name($NYM_ID); }
# are in the user's wallet. $count = OTAPI_Basic_GetServerCount(); echo "Server count: " . $count . "<br>"; for ($i = 0; $i < $count; $i++) { //$srvID = OTAPI_Basic_GetServer_ID($i); $srvID = OTAPI_Basic_GetServer_ID($i); echo "Server Id : " . $srvID . ' '; $server_name = OTAPI_Basic_GetServer_Name($srvID); echo $server_name . '<br>'; } $nym_cnt = OTAPI_Basic_GetNymCount(); echo 'nym count = ' . $nym_cnt . '<br>'; for ($i = 0; $i < $nym_cnt; $i++) { $nymID = OTAPI_Basic_GetNym_ID($i); echo "Nym Id : " . $nymID . ' '; $nym_name = OTAPI_Basic_GetNym_Name($nymID); echo $nym_name . '<br>'; } // ----------------------------------------- # OT MADE EASY (high-level API) # # This object handles all the request/response going on with # any servers, plus all the retries and synchronization. It's # the 'High-level API'. See OTMadeEasy.h and OT_ME.h for the # complete set of high-level API functions. $objEasy = new OTMadeEasy(); // ----------------------------------------- # # Use the High-level API to download a user's public key from # the server. (Obviously this will fail if the server is not # running, or if the test data is not installed.)