Using nightfall-sdk with polygon.io

TypeScript integration

Install
npm install nightfall-sdk
Quick start
import Nightfall_sdk from 'nightfall-sdk';

const client = new Nightfall_sdk({ apiKey: "YOUR_API_KEY" });
Available Companies
curl \
  # append ?apiKey=$API_KEY to the URL \
  /v1/companies
Available Currencies
curl \
  # append ?apiKey=$API_KEY to the URL \
  /v1/currencies
Last Trade for a Symbol
curl \
  # append ?apiKey=$API_KEY to the URL \
  /v1/last/stocks/{symbol}
SDK on GitHub 📄 API Docs
SDK
nightfall-sdk
TypeScript
API
polygon.io
polygon.io
At a glance
Language TypeScript
Endpoints10