=====================
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
Raw data
{
"_id": null,
"home_page": "https://github.com/tradingeconomics/tradingeconomics-python",
"name": "tradingeconomics",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "tradingeconomics, data",
"author": "Trading Economics",
"author_email": "support@tradingeconomics.com",
"download_url": "https://files.pythonhosted.org/packages/1b/8b/6ffef9e5cbf29471a0e00c1cacb283a2b581c13c9989bc737567d96d82ac/tradingeconomics-4.4.1.tar.gz",
"platform": null,
"description": "=====================\nTrading Economics API\n=====================\n\nThe 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.\n\n\nInstallation\n----------------------------------------\n\nYou can install the package using pip:\n\n - pip install tradingeconomics\n\n\nAuthentication\n----------------------------------------\n\nTo use the Trading Economics API, you need to authenticate by providing your API key and secret:\n\n - import tradingeconomics as te\n - te.login('key:secret')\n\n\nSample Usage\n----------------------------------------\n\nHere are some examples of how to use the Trading Economics Python package:\n\n - te.getCalendarData()\n - te.getIndicatorData(country=['mexico', 'sweden'], output_type='df')\n - te.getMarketsData(marketsField='commodities')\n - te.getMarketsBySymbol(symbols='aapl:us')\n - te.getFinancialsData(symbol='aapl:us', output_type='df')\n\n\nGitHub Examples\n----------------------------------------\n\nYou can find additional examples and usage instructions in the GitHub repository:\n - https://github.com/tradingeconomics/tradingeconomics-python/tree/main/examples\n\n\nDocumentation\n----------------------------------------\n\nFor detailed documentation and API reference, please visit the Trading Economics API documentation:\n - https://docs.tradingeconomics.com\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Trading Economics API",
"version": "4.4.1",
"project_urls": {
"Download": "https://github.com/tradingeconomics/tradingeconomics-python/tree/main/dist",
"Homepage": "https://github.com/tradingeconomics/tradingeconomics-python"
},
"split_keywords": [
"tradingeconomics",
" data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "581da7f86b508290dd2d05035c3e20df6db6c73d425ed606ff368b2c9113906b",
"md5": "58607176c062c23908773a42035c3bd5",
"sha256": "b5681a4fe66a6d5a6b3800b344e11e7b9ef2d35be084cbcf076558256be57ba0"
},
"downloads": -1,
"filename": "tradingeconomics-4.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "58607176c062c23908773a42035c3bd5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 56452,
"upload_time": "2024-11-29T12:04:54",
"upload_time_iso_8601": "2024-11-29T12:04:54.584176Z",
"url": "https://files.pythonhosted.org/packages/58/1d/a7f86b508290dd2d05035c3e20df6db6c73d425ed606ff368b2c9113906b/tradingeconomics-4.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1b8b6ffef9e5cbf29471a0e00c1cacb283a2b581c13c9989bc737567d96d82ac",
"md5": "f3f0464ceee1a64ec99dc5aee4610d4e",
"sha256": "426cad778f3f0d1ffa53ab254c140bec557530beedfaab2ea22e4c98250f4bc4"
},
"downloads": -1,
"filename": "tradingeconomics-4.4.1.tar.gz",
"has_sig": false,
"md5_digest": "f3f0464ceee1a64ec99dc5aee4610d4e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 42726,
"upload_time": "2024-11-29T12:05:00",
"upload_time_iso_8601": "2024-11-29T12:05:00.657384Z",
"url": "https://files.pythonhosted.org/packages/1b/8b/6ffef9e5cbf29471a0e00c1cacb283a2b581c13c9989bc737567d96d82ac/tradingeconomics-4.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-29 12:05:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tradingeconomics",
"github_project": "tradingeconomics-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tradingeconomics"
}