<jupyter_start><jupyter_text>Notebook by <NAME>Released under MIT LicenseGitHub: [github.com/RuchirChawdhry/Jupyter-Notebooks](https://github.com/RuchirChawdhry/Jupyter-Notebooks)LinkedIn: [linkedin.com/in/RuchirChawdhry](https://linkedin.com/in/RuchirChawdhry)Website: [ruchirchawdhry.com](https://ruchirchawdhry.com)---  OpenWeatherMap API<jupyter_code>import requests
key = 'REMOVED'
r = requests.get(
    'http://api.openweathermap.org/data/2.5/weather?q=New Delhi&appid='+key+'&units=metric'
).json()
display(r)
latitude, longitude = r['coord'].values()
w_id, main, description, icon = r['weather'][0].values()
temp_current, pressure, humidity, t_min, t_max = r['main'].values()
type_, sys_id, country, sunrise, sunset = r['sys'].values()
status = r['cod']
timezone = r['timezone']
city_id = r['id']
city_name = r['name']
latitude
longitude
w_id
main
description
icon
temp_current
pressure
humidity
t_min
t_max
type_
sys_id
country
sunrise
sunset
timezone
city_id
city_name<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1527777777777778, 'fraction_numerical': 0.002976190476190476, 'mean_word_length': 7.338842975206612, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '141048', 'license': 'MIT', 'n_tokens_mistral': 403, 'n_tokens_neox': 392, 'n_words': 67, 'path': 'open_weather_map_api.ipynb', 'repo_name': 'RuchirChawdhry/Jupyter-Notebooks', 'size': '1017'}