Set the file to Public, get sharing link and extract FILEID
for small files These can also be directly download by visiting the address or using wget
wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O FILENAME
for large files