When downloading data with Python 3.12, the data fetching results in an error. It looks like that FredAPI is using getchildren() method, which is no longer supported by Python >3.9. This method was used in the xml.etree.ElementTree library but has been deprecated.
When downloading data with Python 3.12, the data fetching results in an error. It looks like that FredAPI is using getchildren() method, which is no longer supported by Python >3.9. This method was used in the xml.etree.ElementTree library but has been deprecated.
This has been raised previously by other users e.g. in https://community.anaconda.cloud/t/fredapi-error-using-get-series-method-from-fredapi-package/51231previously