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

Adding proxy configuration #143

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

andersoncarlosfs
Copy link

@andersoncarlosfs andersoncarlosfs commented Nov 13, 2023

Manual test:

# Import Meteostat library
from meteostat import Stations

# Set a public proxy
Stations.cache_dir = './test/filtered/'
Stations.proxy = '81.255.13.197:8080'
#Stations.max_age = 0

# Get nearby weather stations
stations = Stations()
stations = stations.nearby(49.2497, -123.1193)
station = stations.fetch(1)

# Print DataFrame
print(station)

@andersoncarlosfs andersoncarlosfs marked this pull request as ready for review November 14, 2023 04:15
@andersoncarlosfs andersoncarlosfs marked this pull request as draft November 14, 2023 04:19
@andersoncarlosfs andersoncarlosfs marked this pull request as ready for review November 17, 2023 06:12
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

Successfully merging this pull request may close these issues.

None yet

1 participant