{"id":15530740,"url":"https://github.com/mrlynn/stitching-sheets","last_synced_at":"2025-04-23T13:04:37.247Z","repository":{"id":137878506,"uuid":"173013533","full_name":"mrlynn/stitching-sheets","owner":"mrlynn","description":"Stitching Sheets: Using MongoDB Stitch to Create an API for Google Sheets","archived":false,"fork":false,"pushed_at":"2019-03-03T21:42:56.000Z","size":1626,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T13:03:27.403Z","etag":null,"topics":["api","google-sheets","mongodb","mongodb-stitch","serverless"],"latest_commit_sha":null,"homepage":"http://blog.mlynn.org/stitching-sheets","language":"JavaScript","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/mrlynn.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":"2019-02-28T00:44:34.000Z","updated_at":"2022-12-06T07:47:34.000Z","dependencies_parsed_at":"2024-04-18T17:05:30.138Z","dependency_job_id":null,"html_url":"https://github.com/mrlynn/stitching-sheets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlynn%2Fstitching-sheets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlynn%2Fstitching-sheets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlynn%2Fstitching-sheets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlynn%2Fstitching-sheets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrlynn","download_url":"https://codeload.github.com/mrlynn/stitching-sheets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250439289,"owners_count":21430823,"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":["api","google-sheets","mongodb","mongodb-stitch","serverless"],"created_at":"2024-10-02T11:23:52.608Z","updated_at":"2025-04-23T13:04:37.241Z","avatar_url":"https://github.com/mrlynn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stitching Sheets\nMongoDB Stitch is an amazing Back-end as a Service that provides a framework for integrating services from virtually any publicly available API. I've written a bunch on this at MongoDB's Blog but in this [article](http://blog.mlynn.org/stitching-sheets), I'll share with you how easy it is to integrate data from Google Sheets into MongoDB using MongoDB Stitch.\n\n[![Stitching Sheets](https://i.imgur.com/8SluAtz.png)](https://www.youtube.com/watch?v=UpOaUU2UQpA)\n\n## Google Script ##\n* [https://gist.github.com/mrlynn/0e2904376cd9e893ae5cec7207e5bcee](https://gist.github.com/mrlynn/0e2904376cd9e893ae5cec7207e5bcee)\n\nThere are two key elements that make this solution work. First, we have a Google Sheets script which runs from a menu item we add to the sheet. This script collects a row of data at a time and POSTs it to a MongoDB Stitch HTTP Service incoming webhook. The second is the function that runs when the webhook is called — this is where the data is received and inserted into a MongoDB Database Collection.\n\n[![Stitching Sheets: Google Sheet](https://github.com/mrlynn/stitching-sheets/blob/master/images/sheets-stitch-slack.png?raw=true)](https://github.com/mrlynn/stitching-sheets/blob/master/images/sheets-stitch-slack.png?raw=true)\n\nHere's an [example spreadsheet](https://docs.google.com/spreadsheets/d/1NOeo12Rcc09j91kQgtRiGd7vMgbB3rrIcNJRDAoBKC8/edit?usp=drive_web\u0026ouid=112239861731016170701) that contains data for my team's event tracking spreadsheet.\n\n| Event                      | URL                          | Type       | Date Start  | Date End    | Location             | Status      | Owner |\n|----------------------------|------------------------------|------------|-------------|-------------|----------------------|-------------|-------|\n|                            |                              |            |             |             |                      |             |       |\n| ChiHackNight               | https://chicagohacks.tech/   | Hackathon  | 01-Feb-2019 | 31-Dec-2019 | Chicago, IL          | Approved    | Bill  |\n| PyTennessee                | https://www.pytennessee.org/ | Conference | 09-Feb-2019 | 10-Feb-2019 | Nashville, TN        | Approved    | Steve |\n| HopHacks Spring 2019       | https://hophacks.com/        | Hackathon  | 15-Feb-2019 | 17-Feb-2019 | Baltimore, MD        | Deferred    | Jess  |\n| BrickHack                  | https://brickhack.io/        | Hackathon  | 16-Feb-2019 | 17-Feb-2019 | Rochester, NY        | Deferred    | Dan   |\n| HackIllinois               | https://hackillinois.org/    | Hackathon  | 22-Feb-2019 | 24-Feb-2019 | Urbana-Champaign, IL | Deferred    | Adam  |\n| HackCU                     | https://hackcu.org/          | Hackathon  | 22-Feb-2019 | 23-Feb-2019 | Boulder, CO          | Declined    | Lisa  |\n| hoohacks.io                | http://hoohacks.io/          | Hackathon  | 02-Mar-2019 | 03-Mar-2019 | Charlottesville, VA  | Researching | Susan |\n| Confoo                     | http://confoo.ca             | FM Event   | 13-Mar-2019 | 15-Mar-2019 | Montreal, Canada     | Researching | Carey |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlynn%2Fstitching-sheets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrlynn%2Fstitching-sheets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlynn%2Fstitching-sheets/lists"}