Skip to content

Instantly share code, notes, and snippets.

Avatar

Logan Stucki Smarticles101

View GitHub Profile
View GoogleDrive.js
const url = 'https://www.googleapis.com/drive/v3'
const uploadUrl = 'https://www.googleapis.com/upload/drive/v3'
const boundaryString = 'this_can_be_anything_lol' // can be anything unique, needed for multipart upload https://developers.google.com/drive/v3/web/multipart-upload
export default class GoogleDrive {
constructor() {
this.apiToken = null;
}
You can’t perform that action at this time.