import requests
x = requests.get('https://w3schools.com')
print(x.status_code)
import requests
# Making a GET request
r = requests.get('https://api.github.com/users/naveenkrnl')
# check status code for response received
# success code - 200
print(r)
# print content of request
print(r.content)