Skip to Content
ResourcesToolkitsPython Tools

Weather API - Python Tools

A series of tools using Jupyter Notebooks  that utilize the Xweather API to download weather data and load into a pandas DataFrame  for data science purposes.

Sign up for a free developer trial  to obtain your client id and client secret.

Fetch Current Conditions 

This notebook  will allow the user to fetch current conditions for a list of locations. An optional feature allows the user to specify a list of weather attributes to include which will remove irrelevant data for that specific use case. The user also has the option to utilize a simple snippet that converts the DataFrame into a csv.

Fetch Historical Conditions With a Date Range 

Use this notebook  when historical data for a list of locations is needed. Building on the previous example, users can provide a date range, or collection of random dates, and generate CSVs with hourly conditions for each day.

© 2026 Xweather (opens in a new tab)Terms of Service (opens in a new tab)Privacy Policy (opens in a new tab)