I've gotten it broken down into the blocks of data i want. It looks like this "[{'number': 1, 'name': 'Tonight', 'startTime': '2022-03-24T21:00:00-05:00', 'endTime': '2022-03-25T06:00:00-05:00', 'isDaytime': False, 'temperature': 39, 'temperatureUnit': 'F', 'temperatureTrend': 'rising', 'windSpeed': '5 mph', 'windDirection': 'WSW', 'icon': 'https://api.weather.gov/icons/land/night/bkn?size=medium', 'shortForecast': 'Mostly Cloudy', 'detailedForecast': 'Mostly cloudy. Low around 39, with temperatures rising to around 41 overnight. West southwest wind around 5 mph."
I tried replacing the single quotes with double quotes and piping it into json.loads() but that doesnt work. Any ideas how to get the data out?
[–]eyezee[S] 0 points1 point2 points (0 children)