These are chat archives for WP-API/node-wpapi

Dec 2016
K Adam White
Dec 06 2016 01:03
@mike3run hello! Some of site info can be retrieved at the API root (e.g.; you can get that with a .root() call, like so:
Var site ='');
site.root().then(function(result){ console.log(result.description) });
var site ='');
site.root().then(function(result){ console.log(result.description); });
Oh, now it updates the highlighted version :)
You can also do site.settings()... if you're authenticated
Hope that helps!
Miguel Palau
Dec 06 2016 21:33
thanks a lot for the awesome feedback @kadamwhite
K Adam White
Dec 06 2016 22:34
Np, glad I could help!