I also updated the client initialization to use an env variable so you should be able to easily run any example like POLY_API_KEY=yourAPIKey node examples/rest/crypto-aggregates_bars.js. Added the dependencies needed to run the websocket examples as dev dependencies, so those can be run too.
I also updated the client initialization to use an env variable so you should be able to easily run any example like
POLY_API_KEY=yourAPIKey node examples/rest/crypto-aggregates_bars.js
. Added the dependencies needed to run the websocket examples as dev dependencies, so those can be run too.