api.py is the script; uses requests library (included)