3 - Using nrcmd as an API