Skip to content

Commit

Permalink
Merge pull request #134 from khaeru/source/ecb
Browse files Browse the repository at this point in the history
Update ECB source URL
  • Loading branch information
khaeru authored Jun 27, 2023
2 parents 177a2b5 + 6a91323 commit 9b138ad
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
7 changes: 5 additions & 2 deletions doc/sources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,15 @@ SDMX-ML —
------------------------------

SDMX-ML —
`Website <https://www.ecb.europa.eu/stats/ecb_statistics/co-operation_and_standards/sdmx/html/index.en.html>`__
`Website <https://data.ecb.europa.eu/help/api/overview>`__

- Supports categorisations of data-flows.
- Supports preview_data and series-key based key validation.
- In general short response times.

.. versionchanged:: 2.10.1
`As of 2023-06-23 <https://data.ecb.europa.eu/blog/blog-posts/ecb-data-portal-live-now>`__ the ECB source is part of an “ECB Data Portal” that replaces an earlier “ECB Statistical Data Warehouse (SDW)” (`documentation <https://www.ecb.europa.eu/stats/ecb_statistics/co-operation_and_standards/sdmx/html/index.en.html>`__ still available).
The URL in :mod:`sdmx` is updated.
Text on the ECB website (above) states that the previous URL (in :mod:`sdmx` ≤ 2.10.0) should continue to work until about 2024-06-23.

.. _ESTAT:

Expand Down
6 changes: 4 additions & 2 deletions doc/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
What's new?
***********

.. Next release
.. ============
Next release
============

- Update the :ref:`ECB` data source URL per a recent change in the service (:pull:`134`).

v2.10.0 (2023-05-20)
====================
Expand Down
2 changes: 1 addition & 1 deletion sdmx/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
{
"id": "ECB",
"url": "https://sdw-wsrest.ecb.europa.eu/service",
"url": "https://data-api.ecb.europa.eu/service",
"name": "European Central Bank",
"supports": {
"actualconstraint": false,
Expand Down
2 changes: 1 addition & 1 deletion sdmx/tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_doc_usage_structure():
msg1 = ecb.categoryscheme(provider="all")

assert msg1.response.url == (
"https://sdw-wsrest.ecb.europa.eu/service/categoryscheme/all/all/latest"
"https://data-api.ecb.europa.eu/service/categoryscheme/all/all/latest"
"?references=parentsandsiblings"
)

Expand Down

0 comments on commit 9b138ad

Please sign in to comment.