Added existing Python code, minus API keys