tradingeconomics

2.4.0 • Public • Published

tradingeconomics

npm version Unit Tests

Description

The Trading Economics NPM package provides direct access to our data. It allows you to request millions of rows of economic historical data, to query our real-time economic calendar and to subscribe to updates.

QuickStart

npm install tradingeconomics

Usage

  • Import the package.

const te = require('tradingeconomics');
te.login();

or

te.login('key:secret');
  • Authentication using environment variable

apikey="key:secret" node app.js
  • Request data

    • Use the functions to get data from Markets, Indicators, Economic Calendar, Forecasts, World Bank, Comtrade, Federal Reserve, and even the latest news.
    • Know more about other methods on our docs
te.getCalendar().then((data) => console.log(data));

Examples

https://github.com/tradingeconomics/tradingeconomics-js/tree/main/Examples

Documentation

https://docs.tradingeconomics.com

Learn More

https://tradingeconomics.com/analytics/api.aspx

Readme

Keywords

Package Sidebar

Install

npm i tradingeconomics

Weekly Downloads

103

Version

2.4.0

License

ISC

Unpacked Size

98.4 kB

Total Files

38

Last publish

Collaborators

  • tradingeconomics