{"id":20663034,"url":"https://github.com/perfecxx/micropython-googlesheet","last_synced_at":"2025-04-19T15:55:15.301Z","repository":{"id":153209781,"uuid":"620402684","full_name":"PerfecXX/MicroPython-GoogleSheet","owner":"PerfecXX","description":"Update or append the data to Google Sheet, or get the data on Google Sheet.  by using HTTP to execute the Google Apps Script API  compatible with ESP32","archived":false,"fork":false,"pushed_at":"2024-09-15T09:16:38.000Z","size":67,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T09:41:52.874Z","etag":null,"topics":["esp32","googlescript","googlesheets","googlesheetsapi","micropython"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/micropython-googlesheet/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PerfecXX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2023-03-28T15:58:56.000Z","updated_at":"2025-03-18T17:18:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"3771bc89-acff-4b83-acc6-8b8101656281","html_url":"https://github.com/PerfecXX/MicroPython-GoogleSheet","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfecXX%2FMicroPython-GoogleSheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfecXX%2FMicroPython-GoogleSheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfecXX%2FMicroPython-GoogleSheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfecXX%2FMicroPython-GoogleSheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerfecXX","download_url":"https://codeload.github.com/PerfecXX/MicroPython-GoogleSheet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249731182,"owners_count":21317341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["esp32","googlescript","googlesheets","googlesheetsapi","micropython"],"created_at":"2024-11-16T19:16:22.577Z","updated_at":"2025-04-19T15:55:15.275Z","avatar_url":"https://github.com/PerfecXX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicroPython-GoogleSheet\n\n[![Version](https://img.shields.io/badge/version-0.0.5-blue.svg)](https://github.com/PerfecXX/MicroPython-GoogleSheet)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nUpdate or append the data to Google Sheet, or get the data on Google Sheet.  \nBy using HTTP to execute the Google Apps Script API.  \nCompatible with ESP32.\n\n# Getting Started\n- [Installation](https://github.com/PerfecXX/MicroPython-GoogleSheet/blob/main/doc/md/installation.md)\n- [How to get your google credential](https://github.com/PerfecXX/MicroPython-GoogleSheet/blob/main/doc/md/get_google_credential.md)\n- [API](https://github.com/PerfecXX/MicroPython-GoogleSheet/wiki)\n\n# Quick Example \n```python\n# Import Library \nfrom ggsheet import MicroGoogleSheet\nfrom network import WLAN,STA_IF\n\n# Network Creadential \nssid = \"Change_SSID\"    \npassword = \"Change_Password\"\n\n# Connect to Network\nsta_if = WLAN(STA_IF)\nsta_if.active(True)\nif not sta_if.isconnected():\n   print(\"Connecting to wifi: \", ssid)\n   sta_if.connect(ssid, password)\n   while not sta_if.isconnected():\n       pass\nprint(\"Connection successful\")\n\n# Google Sheet Credential \ngoogle_sheet_url = \"https://docs.google.com/spreadsheets/d/xxxxxxxxx/edit#gid=0\"\ngoogle_sheet_name = \"Sheet1\"\ngoogle_app_deployment_id = \"xxxxxxxx\"\n\n# Create Instance \nggsheet = MicroGoogleSheet(google_sheet_url,google_sheet_name)\nggsheet.set_DeploymentID(google_app_deployment_id)\n\n# Update the data to a specific cell (Row,Column,Data)\nggsheet.updateCell(1,1,\"Hello this is my first data\")\n\n# Get the data from a specific cell (Row,Column)\nprint(ggsheet.getCell(1,1))\n\n# Delete the data from a specific cell (Row,Column)\nggsheet.deleteCell(1,1)\n\n# Append the data to a specific row (Row, Data List)\nggsheet.appendRow(1,[1,2,3,\"Row 1 Appended!\"])\n\n# Update the data in a specific row (Row, Data List) \nggsheet.updateRow(1,[3,2,1,\"Row 1 Updated!\"])\n\n# Get all of the data from a specific row (Row)\nprint(ggsheet.getRow(1))\n\n# Delete the data in a specific row (Row)\nggsheet.deleteRow(1)\n\n# Append the data to a specific column (Column, Data List)\nggsheet.appendColumn(1,[1,2,3,\"Column 1 Appended!\"])\n\n# Update the data to a specific column (Column, Data List)\nggsheet.updateColumn(1,[3,2,1,\"Column 1 Updated!\"])\n\n# Get all of the data from a specific column (Column)\nprint(ggsheet.getColumn(1))\n\n# Delete the data in a specific column (Column)\nggsheet.deleteColumn(1) \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfecxx%2Fmicropython-googlesheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperfecxx%2Fmicropython-googlesheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfecxx%2Fmicropython-googlesheet/lists"}