Skip to content

Instantly share code, notes, and snippets.

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;
}