Post
Topic
Board Announcements (Altcoins)
Re: NEM (XEM) Official Thread - 100% New Code - Easy To Use APIs
by
KloNEM
on 23/09/2016, 09:33:52 UTC
What's happened with Blockexplore / Rich List ? (http://blockexplore.in/search/richlist/). It's been stuck ~ 24 hours ago (last update: 2016-09-22 05:21 GMT). Normally there is 1hour period update, if I'm not fallen.

Well, to an acquire information about my account balance, I could use API call to my node. Two questions : Is still actual and no obsolete :

1/ PHP2nem utility (https://github.com/NemProject/php2nem) ,

2/ Description of API calls (https://www.nem.io/ncc/index.html#API-Overview) ?



I tried to use php2nem, and these calls working fine :

Code:
$res = $nem->nis_get('/node/info');
echo $res;
...
$res = $nem->nis_get('/status');
echo $res;


But e.g. these not :

Code:
$res = $nem->nis_get('/info/nis');
echo $res;

$data = <<{"account":"N............BLAHBLAH"}
JSON;

$res = $nem->nis_post('/account/find',$data);
echo $res;

Result is :

Code:
{"timeStamp":47035410,"error":"Not Found","message":null,"status":404}

{"timeStamp":47035410,"error":"Not Found","message":null,"status":404}


Can I make the call into the NIS node (without explicitly running NCC) ? But still, why is not '/info/nis' (and '/info/ncc' as well) working, when '/status' works like a charm?


Thanks in advance.