Metadata-Version: 2.4
Name: tradingeconomics
Version: 4.5.10
Summary: Trading Economics API
Home-page: https://github.com/tradingeconomics/tradingeconomics-python
Download-URL: https://github.com/tradingeconomics/tradingeconomics-python/tree/main/dist
Author: Trading Economics
Author-email: support@tradingeconomics.com
License: MIT
Keywords: tradingeconomics,data
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Office/Business :: Financial :: Point-Of-Sale
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: pandas<4,>=2.0
Requires-Dist: websocket-client>=1.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: download-url
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

=====================
Trading Economics API
=====================

The Trading Economics Python package provides direct access to over 300,000 economic indicators, exchange rates, stock market indexes, government bond yields, and commodity prices. This package offers various request methods to query the Trading Economics databases and supports exporting data in XML, CSV, or JSON format. The API can be used to feed custom-developed applications, public websites, or off-the-shelf software.


Installation
----------------------------------------

You can install the package using pip:

    - pip install tradingeconomics


Authentication
----------------------------------------

To use the Trading Economics API, you need to authenticate by providing your API key and secret:

    - import tradingeconomics as te
    - te.login('key:secret')


Sample Usage
----------------------------------------

Here are some examples of how to use the Trading Economics Python package:

    - te.getCalendarData()
    - te.getIndicatorData(country=['mexico', 'sweden'], output_type='df')
    - te.getMarketsData(marketsField='commodities')
    - te.getMarketsBySymbol(symbols='aapl:us')
    - te.getFinancialsData(symbol='aapl:us', output_type='df')


GitHub Examples
----------------------------------------

You can find additional examples and usage instructions in the GitHub repository:
 - https://github.com/tradingeconomics/tradingeconomics-python/tree/main/examples


Documentation
----------------------------------------

For detailed documentation and API reference, please visit the Trading Economics API documentation:
 - https://docs.tradingeconomics.com
