search()
search(query: string): Promise<ApiResponse>
Search for economic datasets.
Example
const results = await client.econ.search('GDP');
dataset()
dataset(seriesId: string): Promise<ApiResponse>
Get data for a specific economic series.
Economic series identifier
Example
const data = await client.econ.dataset('GDPC1');
calendar()
calendar(params?: { from?: string, to?: string, country?: string, minImportance?: number, currency?: string, category?: string }): Promise<ApiResponse>
Get economic calendar events.
Start date for calendar events
End date for calendar events
Minimum importance level (1-3)
Example
const events = await client.econ.calendar({
from: '2024-01-01',
to: '2024-12-31',
country: 'US',
minImportance: 2
});