Spaces:
Sleeping
Sleeping
Minor change to date format instructions
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ from Gradio_UI import GradioUI
|
|
14 |
def get_nasa_neo_data(start_date:str, end_date:str) -> dict:
|
15 |
"""A function to get Near Earth Object (NEO) data from NASA API.
|
16 |
Args:
|
17 |
-
start_date: A string representing thestart date of the data to be fetched in. IMPORTANT: Follows date convention YYYY-MM-DD using dash delimitation e.g. "2021-09-07"
|
18 |
-
end_date: A string representing the end date of the data to be fetched. IMPORTANT: Follows date convention YYYY-MM-DD using dash delimitation e.g. "2021-09-07"
|
19 |
Returns: The data fetched from the API as a JSON-like dictionary.
|
20 |
"""
|
21 |
root_url = "https://api.nasa.gov/neo/rest/v1/feed?"
|
|
|
14 |
def get_nasa_neo_data(start_date:str, end_date:str) -> dict:
|
15 |
"""A function to get Near Earth Object (NEO) data from NASA API.
|
16 |
Args:
|
17 |
+
start_date: A string representing thestart date of the data to be fetched in. IMPORTANT: Follows ISO 8601 date convention YYYY-MM-DD using dash delimitation e.g. "2021-09-07"
|
18 |
+
end_date: A string representing the end date of the data to be fetched. IMPORTANT: Follows ISO 8601 date convention YYYY-MM-DD using dash delimitation e.g. "2021-09-07"
|
19 |
Returns: The data fetched from the API as a JSON-like dictionary.
|
20 |
"""
|
21 |
root_url = "https://api.nasa.gov/neo/rest/v1/feed?"
|