Need to shorten links through the service goo.gl
using the API
got your API key.
set
pip install --upgrade google-api-python-client
How to do in the program code I do not know.
which module to import?
what API commands?
for example link www.google.com