Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add proxy settings #30

Open
dmpe opened this issue Feb 21, 2020 · 4 comments
Open

add proxy settings #30

dmpe opened this issue Feb 21, 2020 · 4 comments

Comments

@dmpe
Copy link

dmpe commented Feb 21, 2020

Hi,
it would have been really nice if you could add to Fred() call also proxy settings.
Thanks

@amandus1990
Copy link

agree. it is easy to realize but useful

@TomasKoutek
Copy link

TomasKoutek commented Feb 9, 2022

Hi,
as an alternative you can use package pystlouisfed, where it is possible to set parameters from requests.request

from pystlouisfed import FRED

fred = FRED(
    api_key='abcdefghijklmnopqrstuvwxyz123456',
    request_params={
        'proxies': {
            "http": 'http://127.0.0.1:3128',
            "https": 'http://127.0.0.1:3128'
        }
    })

df = fred.series_observations(series_id='GDP')

@milmr
Copy link

milmr commented Jul 13, 2023

Opened a PR#65 for this issue.

@Tvogel20
Copy link

Tvogel20 commented Sep 7, 2023

Could this be pulled, the code looks good? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants