Dataquest : Python API Tutorial: Getting Started with APIs – Dataquest

PHOTO EMBED

Mon Apr 03 2023 14:37:13 GMT+0000 (Coordinated Universal Time)

Saved by @dafreibe74 #python

response = requests.get("https://api.open-notify.org/astros.json")
print(response.status_code)
content_copyCOPY

https://www.dataquest.io/blog/python-api-tutorial/