Finding an API's url

Screen Link:

I have a general question about how to find the proper URL to use when accessing an API. I have looked around, and I can see how the url used in the code below is a VERSION of the Open Notify URLs, but I’m not sure how we arrive at the precise url that is used below.

response = requests.get("http://api.open-notify.org/iss-now.json")
status_code = response.status_code

Thank you for your help!

1 Like

Check out this link

There should be always API documentation for these details. If you see here you will also find other endpoint or URl for other information like Pass Times and Number of People In Space.

Hope that helps! :slight_smile:

1 Like