Skip to main content

The Central Bank of the Republic of Türkiye Electronic Data Distribution System Data Access Package

Project description

edds - The Central Bank of the Republic of Türkiye Electronic Data Distribution System Data Access Package

This package provides easy-to-use functions to retrieve data from the Central Bank of the Republic of Turkey (TCMB) Economic Data Distribution System (EDDS) web service.

Features

Get Categories:

Retrieve a list of all data categories in EVDS as a Pandas DataFrame.

Get Data Groups:

Retrieve a list of data groups within a specific category as a Pandas DataFrame.

Get Series:

Retrieve a list of series within a specific data group as a Pandas DataFrame.

Get Data:

Retrieve data for a specific series and date range as a Pandas DataFrame.

User-Friendly:

Functions use simple and intuitive parameters.

Error Handling:

Improved error handling with custom exception classes (InputError, SerieNotFoundError).

Installation

pip install edds

Usage

from edds import edds

Enter your API key

api_key = "YOUR_API_KEY"

Create an edds object

evdsa = edds(api_key)

Get categories

evdsa.categories

Use the CATEGORY_ID of the category

evdsa.data_groups(CATEGORY_ID)

Get series for the data_groups

evdsa.series("DATAGROUP_CODE")

Get data for the series

evdsa.get_data('SERIE_CODE', startdate="START_DATE", enddate="END_DATE")

EXAMPLE

evdsa = edds('api_key')

evdsa.categories evdsa.data_groups(23)

evdsa.series("bie_tisguc")

evdsa.get_data('TP.TIG04', startdate="01-01-2014", enddate="01-01-2020")

License

This package is licensed under the MIT License.

Contact

Please contact us for any questions or feedback.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edds-1.3.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edds-1.3.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file edds-1.3.2.tar.gz.

File metadata

  • Download URL: edds-1.3.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for edds-1.3.2.tar.gz
Algorithm Hash digest
SHA256 410ae35b4589dca8be7d701bb750e41556a72eaea59a8ea2805d4773fdae7ae9
MD5 0eb631f4b2e16f7f8358d1de29ddbd4b
BLAKE2b-256 4b246ebe8310e46c857679bf9d94f79fcfd9c269669ce4440418c372de564f64

See more details on using hashes here.

File details

Details for the file edds-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: edds-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for edds-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6f06341a3b2a9a10852f03b7af0a1bee7cfb48c5e91d36dce09966ec6919e09
MD5 16451463d4590198d5e7e5746ccc384a
BLAKE2b-256 efd21351fae0fe887df8835ced63878cad5262cfec423edc87be7458ae47d9bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page