UNPKG

polygon.io

Version:

Isomorphic Javascript client for Polygon.io Stocks, Forex, and Crypto APIs

9 lines (8 loc) 411 B
export interface IPolygonQuery { [key: string]: string | number | boolean | undefined; } export interface IPolygonQueryWithCredentials extends IPolygonQuery { apiKey: string | boolean; } export declare const auth: (apiKey: any, func: Function, apiBase: string) => (...args: any[]) => any; export declare const get: (path: string, apiKey: string, apiBase: string, query?: IPolygonQuery) => Promise<any>;