File: parse_data.py
Task:
You need to create a function that parses the JSON response from the NASA API to extract useful information.
Function Name: parse_apod_data(data)
Description: Extract the title, explanation, media type, and URL from the JSON response. Return this information in a dictionary.
Key Learning Point: Learn how to parse JSON data and extract specific fields.
File: parse_data.py Task: You need to create a function that parses the JSON response from the NASA API to extract useful information.
Function Name: parse_apod_data(data) Description: Extract the title, explanation, media type, and URL from the JSON response. Return this information in a dictionary. Key Learning Point: Learn how to parse JSON data and extract specific fields.