comp426-2022-fall / assignments

This repository contains information about and links to assignment invites and
Creative Commons Zero v1.0 Universal
0 stars 3 forks source link

Exam question: In 06, what type/part of forecast are you looking for? #18

Open jusurkin3 opened 1 year ago

jusurkin3 commented 1 year ago

Question

In 06, can you give any more specification about what type of forecast you are looking for? Right now, the API endpoint /forecast returns the JSON data for 14 days including some other information that's not immediately relevant to the weather. The documentation for this task just says a forecast but it seems the autograder might be looking for something more specific.

06 README.md says:

Complete the BASH script weather.sh in this directory with a CURL command to get a weather forecast for Boone, NC in JSON from the US Weather Service.

The autograder will check for the following things:

  1. Running ./weather.sh or bash weather.sh will return JSON for Boone, NC.

HINT: Look at the EXAMPLES tab on the API documentation: https://www.weather.gov/documentation/services-web-api

AyBruno commented 1 year ago

It seems like the auto grader isn't checking for the response from the endpoint containing forecast data. The info its looking for may be the output of the API endpoint that just takes latitude and longitude, not the grid values. I'm not completely sure though