import configparser
import requests
import sys
import json
#import weather_data_parsing


url = "https://api.openweathermap.org/data/2.5/forecast?id=1--------&appid="---------------------"
r = requests.get(url)
if(r):
	print("Weather Report Fetched")
else :
	print("Weather report fecthing failed")	

f = open('weather.json','w')
json.dump(r.json(),f,indent=4);
f.close()
exec(open('weather_data_parsing.py').read())
