{"id":14036107,"url":"https://github.com/koopjs/koop-provider-google-sheets","last_synced_at":"2025-04-10T10:41:47.055Z","repository":{"id":57125444,"uuid":"86119467","full_name":"koopjs/koop-provider-google-sheets","owner":"koopjs","description":"Create a Koop provider to bring in data from Google Sheets into Insights for ArcGIS","archived":false,"fork":false,"pushed_at":"2022-12-09T21:05:06.000Z","size":33,"stargazers_count":6,"open_issues_count":4,"forks_count":3,"subscribers_count":396,"default_branch":"master","last_synced_at":"2024-04-16T06:46:46.884Z","etag":null,"topics":["koop-provider"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koopjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-24T23:48:04.000Z","updated_at":"2019-09-24T07:28:14.000Z","dependencies_parsed_at":"2023-01-25T17:15:54.538Z","dependency_job_id":null,"html_url":"https://github.com/koopjs/koop-provider-google-sheets","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-provider-google-sheets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-provider-google-sheets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-provider-google-sheets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-provider-google-sheets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koopjs","download_url":"https://codeload.github.com/koopjs/koop-provider-google-sheets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199366,"owners_count":21063661,"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":["koop-provider"],"created_at":"2024-08-12T03:01:50.302Z","updated_at":"2025-04-10T10:41:47.037Z","avatar_url":"https://github.com/koopjs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Google Sheets Provider\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/koopjs/koop-provider-google-sheets.svg)](https://greenkeeper.io/)\n\nCreate a provider to consume data from Google Sheets inside Insights for ArcGIS\n\n## Overview\n\nInsights for ArcGIS can connect to any data source using the provider patter.  This project includes an example Koop provider compatiable with Insights for ArcGIS. \nJavascript is used to create an express web server, which includes web service that knows how to communicate with Google Sheets.  \n\n## Dependencies\n\n* NodeJS\n\n## Instructions\n\n### Installation\n`git clone https://github.com/ArcGIS/google-sheets-provider.git`\n`cd google-sheets-provider `\n`npm install`\n\n### Configuration\n\n1. Obtain an API Key for Google Sheets - [instructions](https://developers.google.com/sheets/api/guides/authorizing#APIKey)\n2. Add the api key to you configuration\n - option 1: edit config/default.json and replace the value under googlesheets.auth with your api key\n - option 2: before running your server add your auth to your environment e.g. `export GOOGLESHEETS_AUTH=YOUR_KEY`\n\n### Startup\n\n`npm start`\n\n\nAfter `npm start` you should see something like this:\n\n```bash\n\u003e node server.js\n\ninfo: registered output: Geoservices 1.1.1\nNo root directory was specified, defaulting to:  /Users/foobar/koop/providers/google-sheets\ninfo: registered filesystem: localfs 1.1.1\ninfo: registered provider: googlesheets 1.0.0\n\n\nKoop Trimet Provider listening on 3000\nFor more docs visit: https://koopjs.github.io/docs/specs/provider/\nTo find providers visit: https://www.npmjs.com/search?q=koop+provider\n\nTry it out in your browswer: http://localhost:3000/googlesheets/1JlPaiuIHXmkfpLBaQdoRixPSasjX5NlDte70pyFT9yI/Park%20Cleanup!A1:H/FeatureServer/0/query\nOr on the command line: curl --silent http://localhost:3000/googlesheets/1JlPaiuIHXmkfpLBaQdoRixPSasjX5NlDte70pyFT9yI/Park%20Cleanup!A1:H/FeatureServer/0/query?returnCountOnly=true\n\nPress control + c to exit\n```\n\n## Deployment \n\nYou have 3 deployment options.  \n\n**Option 1 -** This is a good option if you do not have Portal for ArcGIS staged in a place for development. \n\n* Create an [NOW](https://zeit.co/now) account, which enables free hosting of SSL NodeJS services\n* Download and install NOW\n* From inside the `google-sheets-provider` run `now` in your terminal\n* You will end up with this provider being hosted in NOWs free cloud\n\n**Option 2 -** Arrage to have NodeJS installed on your 10.5+ Portal for ArcGIS machine\n\n* Make sure port 3000 is open and NodeJS is installed\n* Copy files to your machine with Portal for ArcGIS\n* Follow the instructions above\n\n**Option 3 -** Access a web access machine and deploy the project files\n\n* Make sure port 3000 is open and NodeJS is installed\n* Copy files to the web accessable machine\n* Follow the instructions above\n\n# Getting Started\n\nOnce the Google Sheets provider is running, read below on how to bring this content into portal. \n\n## Add Provider to Portal for ArcGIS\n\n* Log into portal as a publisher or admin\n* Click `My Content -\u003e Add Item -\u003e From the web`\n* Complete the form as follows:\n\n**Type:** `ArcGIS Server Web Service`\n\n**Url:** `https://googlesheets-provider-hkrquwqwvp.now.sh/googlesheets/1JlPaiuIHXmkfpLBaQdoRixPSasjX5NlDte70pyFT9yI/Park%20Cleanup!A1:H/FeatureServer/0`\n\n**Title:** `Google Sheets`\n\n**Tags:** `Park Cleanup, Insights, Provider`\n\n## Add Provider to Insights\n\n* Log into Insights for ArcGIS\n* Click `New Workbook`\n* Browse for `Google Sheets` and select\n* Click Add\n\n# Other Useful Information\n\nIf you do not have the flexibility to deploy the project to a development environment, feel free to try out the sample below.\n\nhttps://googlesheets-provider-hkrquwqwvp.now.sh/googlesheets/1JlPaiuIHXmkfpLBaQdoRixPSasjX5NlDte70pyFT9yI/Park%20Cleanup!A1:H/FeatureServer/0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoopjs%2Fkoop-provider-google-sheets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoopjs%2Fkoop-provider-google-sheets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoopjs%2Fkoop-provider-google-sheets/lists"}