Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get requests from python

import requests

response = requests.get('<api-endpoint>')
response.raise_for_status()

data = response.json()
print(data)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #requests #python
ADD COMMENT
Topic
Name
2+5 =