earningscall
Version:
The EarningsCall JavaScript library provides convenient access to the EarningsCall API. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses.
15 lines • 1.01 kB
TypeScript
import { DownloadAudioFileResponse } from '../types';
export declare function setApiKey(apiKey: string | undefined): void;
export declare function getApiKey(): string;
export declare function apiKeyParam(): {
apikey: string;
};
export declare function isDemoAccount(): boolean;
export declare function handleErrorStatusCodes(response: Response): void;
export declare function doGet(path: string, params: Record<string, string>): Promise<Response>;
export declare function getEvents(exchange: string, symbol: string): Promise<unknown>;
export declare function getTranscript(exchange: string, symbol: string, year: number, quarter: number, level: number): Promise<unknown>;
export declare function getSymbolsV2(): Promise<Response>;
export declare function getSp500CompaniesTxtFile(): Promise<string>;
export declare function downloadAudioFile(exchange: string, symbol: string, year: number, quarter: number, outputFilePath?: string): Promise<DownloadAudioFileResponse>;
//# sourceMappingURL=api.d.ts.map