polygon.io
Version:
Isomorphic Javascript client for Polygon.io Stocks, Forex, and Crypto APIs
11 lines (10 loc) • 385 B
TypeScript
export * from "./rest";
export * from "./websockets";
import { IRestClient } from "./rest";
import { IWebsocketClient } from "./websockets";
export interface IPolygonClient {
rest: IRestClient;
websockets: IWebsocketClient;
}
export declare const polygonClient: (apiKey: string, restApiBase?: string, websocketApiBase?: string) => IPolygonClient;
export default polygonClient;