{"id":13305723,"url":"https://github.com/ZackAkil/appscript-toolbox","last_synced_at":"2025-03-10T13:32:22.747Z","repository":{"id":206405341,"uuid":"716564159","full_name":"ZackAkil/appscript-toolbox","owner":"ZackAkil","description":"🧰 Useful functions for AppScript in Google Workspace.","archived":false,"fork":false,"pushed_at":"2023-11-09T17:04:39.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-09T17:52:50.834Z","etag":null,"topics":["appscript","google-workspace","productivity","utility"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ZackAkil.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,"publiccode":null,"codemeta":null}},"created_at":"2023-11-09T12:00:53.000Z","updated_at":"2023-11-09T12:04:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"37d108e3-b7fa-4a35-8784-6864fe898655","html_url":"https://github.com/ZackAkil/appscript-toolbox","commit_stats":null,"previous_names":["zackakil/appscript-toolbox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZackAkil%2Fappscript-toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZackAkil%2Fappscript-toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZackAkil%2Fappscript-toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZackAkil%2Fappscript-toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZackAkil","download_url":"https://codeload.github.com/ZackAkil/appscript-toolbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242859791,"owners_count":20196994,"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":["appscript","google-workspace","productivity","utility"],"created_at":"2024-07-29T17:54:00.225Z","updated_at":"2025-03-10T13:32:22.719Z","avatar_url":"https://github.com/ZackAkil.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# appscript-toolbox\nUseful functions for appscript.\n\n### Get the data from a row as a object where the column names are the fields\n```js\nfunction getRowDataAsObject(sheet, rowNumber){\n    `\n    Takes a sheet and a row number and returns an object with the header values as keys and the corresponding row data as values.\n\n    Args:\n        sheet (Sheet): The sheet to get the data from.\n        rowNumber (int): The row number to get the data from.\n\n    Returns:\n        dict: A dictionary with the header values as keys and the corresponding row data as values.\n    `\n  const header = sheet.getRange(1, 1, 1, \n    sheet.getLastColumn()).getValues()[0]\n\n  const rowData = sheet.getRange(rowNumber, 1, 1, \n    sheet.getLastColumn()).getValues()[0];\n\n  const outputObject = {}\n  for (let i = 0; i \u003c header.length; i++) {\n    outputObject[header[i]] = rowData[i]\n  }\n  return outputObject\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZackAkil%2Fappscript-toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZackAkil%2Fappscript-toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZackAkil%2Fappscript-toolbox/lists"}