How to Solve NameError: name 'get' is not defined -- requests

Solution: Import the 'get' module

To Solve the error, add the following line to the top of your code.

from requests import get

 

For more information:
Python requests get