hardknee commited on
Commit
ac3c3c0
·
verified ·
1 Parent(s): 1b304ca

Updated Neo docstring with stipulation on date format

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