get requests from python

Solutions on MaxInterview for get requests from python by the best coders in the world

showing results for - "get requests from python"
Elena
20 May 2016
1import requests
2
3response = requests.get('<api-endpoint>')
4response.raise_for_status()
5
6data = response.json()
7print(data)