How to get current readings from emonPi with NodeJS AWS SDK

We are trying to connect with Emonpi with aws sdk but we are not able to connect so is there any reference available that how we can connect to emonpi with aws sdk?

I use a scheduled PHP script on the Pi that uses cURL to read data from the emonCMS and send it to a node.js socket server. The documentation for the emonCMS API is here:
https://emoncms.org/site/api

You could equally request the data from the Pi via a node.js cURL request on the server.