pyenv versions
pyenv local 3.6.1
pip install --upgrade google-api-python-client
pip install --upgrade oauth2client
https://developers.google.com/calendar/quickstart/python
https://developers.google.com/calendar/create-events
refer https://medium.com/google-cloud/accessing-google-cloud-apis-though-a-proxy-fe46658b5f2a
# 只有带协议的版本是可以的
https_proxy=192.168.234.1:8123 python quickstart.py
https_proxy=http://192.168.234.1:8123 python quickstart.py
# 都可以
https_proxy=192.168.234.1:8123 curl https://www.google.com
https_proxy=http://192.168.234.1:8123 curl https://www.google.com