Last active
January 18, 2021 19:54
-
-
Save wkliwk/b3c4305a7a9c5cf8aa7b857be63863f0 to your computer and use it in GitHub Desktop.
get the downloadable link from google drive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## go to google developer doc, try to call the api with the API playground | |
https://developers.google.com/drive/api/v2/reference/files/get?apix_params=%7B%22fileId%22%3A%221QyHj0cN0cOG-ypbrB2DnbnES_b5o8QKF%22%7D&apix=true | |
``` | |
curl \ | |
'https://www.googleapis.com/drive/v3/files/[FILEID]?key=[YOUR_API_KEY]' \ | |
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \ | |
--header 'Accept: application/json' \ | |
--compressed | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment