Open alessandrofelder opened 1 year ago
There's a web service that gives you the times of when the ISS is visible from your location
Using this web service, write a function named iss_passes in times.py that generates a similar output than time_range.
iss_passes
times.py
time_range
http://api.open-notify.org/iss-pass.json?lat=29.55&lon=95.1&n=5
datetime.datetime.fromtimestamp
Write a test for the iss_passes function that mocks the request call and the response to avoid querying the website all the time we run the tests.
Commit, push and link to this issue.
The documentation says "This api has been removed" and the API link returns "404 Not Found"? 😐
Wayback machine link
There's a web service that gives you the times of when the ISS is visible from your location
Using this web service, write a function named
iss_passes
intimes.py
that generates a similar output thantime_range
.http://api.open-notify.org/iss-pass.json?lat=29.55&lon=95.1&n=5
(Documentation)datetime.datetime.fromtimestamp
function.Write a test for the
iss_passes
function that mocks the request call and the response to avoid querying the website all the time we run the tests.Commit, push and link to this issue.