fmp-node-api
Version:
A comprehensive Node.js wrapper for Financial Modeling Prep API
19 lines (17 loc) • 392 B
text/typescript
interface APIResponse<T = unknown> {
success: boolean;
data: T | null;
error: string | null;
status: number;
}
interface FMPConfig {
apiKey?: string;
timeout?: number;
}
interface SymbolParams {
symbol: string;
}
interface PeriodParams {
period?: 'annual' | 'quarter';
}
export type { APIResponse as A, FMPConfig as F, PeriodParams as P, SymbolParams as S };