diff --git a/fredapi/tests/test_with_proxies.py b/fredapi/tests/test_with_proxies.py new file mode 100644 index 0000000..83c2126 --- /dev/null +++ b/fredapi/tests/test_with_proxies.py @@ -0,0 +1,14 @@ +""" Created on 15/04/2024:: +------------- test_with_proxies.py ------------- + +**Authors**: L. Mingarelli +""" +import os +import fredapi +PROXIES = {'http': 'xxx', + 'https': 'xxx'} + +fred = fredapi.Fred(api_key=os.environ['FRED_API_KEY'], proxies=PROXIES) + +data = fred.get_series('SP500') +