Google Drive can store a large number of files based on the storage available as per the subscription plan selected. But, there are some restrictions on the number of maximum items we can add. In Google Drive storage, inside a folder, we can add up to a total count of 500000 items(including files, folders, and… Continue reading Google Drive File Count Limit
Tag: google api
Suitescript Function to fetch web-view links of files from a Shared Drive on the Google Drive storage using the file name
Suitescript function for fetching the web-view link of a file in a Shared Drive inside Google Drive using the file name. Please note that this only works when filenames are unique. /** * Function to get Google Drive link for a file * @param {string} accessToken Access token… Continue reading Suitescript Function to fetch web-view links of files from a Shared Drive on the Google Drive storage using the file name
How to generate access code for Google API
This is the first step you need to do for using any Google API request. Google API requests can be send using an ‘access token’ which can be created from a ‘refresh token’. But in order to create the refresh token, you need to allow the API permissions you want to use for the Google… Continue reading How to generate access code for Google API
Google Drive API request to generate access token
Use the following request to generate a new access token for the Google Drive API: Request type: POST URI: ‘https://accounts.google.com/o/oauth2/token’ In the body section, choose ‘x-www-form-urlencoded’ “Request Body”: { client_id: {Your client ID here}, client_secret: {Your client secret value here}, refersh_token: {refersh token}, grant_type: refresh_token, }
Google Drive API request to generate refresh token
Refresh tokens can be used to generate access tokens for API requests. Use the following steps: Step1: Generate access code You can create an access code through the Google OAuth 2.0 Playgrounds website. If you are doing this through browser URL with redirect link as ‘localhost’, you will get: http://localhost/?state=state_parameter_passthrough_value&code={actual_code_here}&scope=https://www.googleapis.com/auth/drive.file Step2: Send API request via… Continue reading Google Drive API request to generate refresh token
Google Drive API request to create a new folder
Use the following request to create a new foder on the Google Drive: Request type: POST URI: ‘https://www.googleapis.com/drive/v3/files’ Headers: “Authorization”: `Bearer ${accessToken}` Use the access token generated using the access credentials “Content-Type”: “application/json” “Request Body”: “{ “name”: “folderName”, “mimeType”: “application/vnd.google-apps.folder”, “parents”: [“{parentFolderID}”], }” To get the folder ID of any folder in Google Drive easily, open… Continue reading Google Drive API request to create a new folder
How to generate Google Drive API credentials
You need an active Google account with Google Drive service as a prerequisite for generating Google Drive API credentials. First, register your Google account on the Google Cloud Platform. Navigate to ‘Google Cloud Paltform’ You might need to provide your Credit card details to complete the registration. Now, create a new Project from the menu.… Continue reading How to generate Google Drive API credentials
Building a Django Application with Google Routing and Geocoding API
In the realm of web development, incorporating mapping functionalities into applications has become increasingly popular. Google Maps APIs provide a powerful toolkit for developers to integrate mapping, geocoding, and routing capabilities seamlessly into their web applications. In this article, we will explore how to leverage Django, a high-level Python web framework, along with Google Routing… Continue reading Building a Django Application with Google Routing and Geocoding API
Google Cloud Storage API Reference
Solution Cloud Storage API reference: Cloud Storage JSON API overview | Google Cloud Create Bucket to insert an object (file) : Buckets: insert | Cloud Storage | Google Cloud Buckets can also be created through cloud console UI: Create buckets | Cloud Storage | Google Cloud The files can be transferred through objects : Objects:… Continue reading Google Cloud Storage API Reference
Google Drive Integration
Google drive integrate with NetSuite to make document uploading an easy process.