{"id":46812011,"url":"https://github.com/constracti/upload-to-google-drive","last_synced_at":"2026-03-10T08:27:39.739Z","repository":{"id":114371817,"uuid":"420056527","full_name":"constracti/upload-to-google-drive","owner":"constracti","description":"Upload a file to Google Drive using Python.","archived":false,"fork":false,"pushed_at":"2024-03-16T00:14:33.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-16T01:26:54.970Z","etag":null,"topics":["google-drive","google-drive-api","oauth2","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/constracti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-10-22T10:26:46.000Z","updated_at":"2024-03-16T01:26:57.443Z","dependencies_parsed_at":"2024-03-22T08:15:26.109Z","dependency_job_id":null,"html_url":"https://github.com/constracti/upload-to-google-drive","commit_stats":null,"previous_names":["constracti/upload-to-google-drive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/constracti/upload-to-google-drive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constracti%2Fupload-to-google-drive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constracti%2Fupload-to-google-drive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constracti%2Fupload-to-google-drive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constracti%2Fupload-to-google-drive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/constracti","download_url":"https://codeload.github.com/constracti/upload-to-google-drive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constracti%2Fupload-to-google-drive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30328211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-drive","google-drive-api","oauth2","python3"],"created_at":"2026-03-10T08:27:38.975Z","updated_at":"2026-03-10T08:27:39.723Z","avatar_url":"https://github.com/constracti.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Upload to Google Drive\n\nUpload a file to Google Drive using Python.\n\n## Dependencies\n\n- **Python 3**\n- **Requests** project\n```\npython3 -m pip install requests\n```\n\n## Installation\n\nDownload Python source files or clone this repository.\n\nNavigate to https://console.cloud.google.com/ and create a new project.\n\nFind and enable **Google Drive API**.\n\nClick on **Create Credentials**.\nSelect **Google Drive API**.\nYou will be accessing **User data**.\n\nAdd scope **https://www.googleapis.com/auth/drive.file**.\nSelect **Desktop app** as an **Application type**.\n\nSave your credentials with name **client_secret.json** in the directory of the source files.\n\n## Authentication\n\nRun **auth.py**:\n```\npython3 auth.py\n```\n\nOpen the printed URL in a browser and follow the instructions.\n\n## Usage\n\nRun **upload.py**:\n```\npython3 upload.py [-v] FILE FOLDER_ID\n```\nwhere `FILE` is the file to be uploaded\nand `FOLDER_ID` is the target folder id in Google Drive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstracti%2Fupload-to-google-drive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconstracti%2Fupload-to-google-drive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstracti%2Fupload-to-google-drive/lists"}