Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python make api request

import requests
response = requests.get("http://api.open-notify.org/astros.json")
print(response)
>>>> Response<200>
 
PREVIOUS NEXT
Tagged: #python #api #request
ADD COMMENT
Topic
Name
2+3 =