{"id":18318729,"url":"https://github.com/xdevplatform/etl","last_synced_at":"2025-04-05T21:33:14.358Z","repository":{"id":37643346,"uuid":"365120089","full_name":"xdevplatform/ETL","owner":"xdevplatform","description":"An example app demonstrating storing Tweets in a Google Spreadsheet","archived":false,"fork":false,"pushed_at":"2021-05-18T21:56:18.000Z","size":13,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-04-22T01:00:34.276Z","etag":null,"topics":["etl","google","google-sheets-api","twitter-api","twitter-api-v2","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xdevplatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-07T05:06:41.000Z","updated_at":"2024-04-12T05:42:09.000Z","dependencies_parsed_at":"2022-09-12T19:50:45.372Z","dependency_job_id":null,"html_url":"https://github.com/xdevplatform/ETL","commit_stats":null,"previous_names":["xdevplatform/etl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FETL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FETL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FETL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FETL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdevplatform","download_url":"https://codeload.github.com/xdevplatform/ETL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223221257,"owners_count":17108514,"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":["etl","google","google-sheets-api","twitter-api","twitter-api-v2","typescript"],"created_at":"2024-11-05T18:11:24.299Z","updated_at":"2024-11-05T18:11:25.023Z","avatar_url":"https://github.com/xdevplatform.png","language":"TypeScript","readme":"# Code Examples for using Twitter API v2\n\n## Extract Transform and Load\n\nFollow this [tutorial](https://developer.twitter.com/...)\n\n(TODO: @duckranger add details)\n1. Clone this repository\n1. Run `npm install` in the repo's directory\n1. Obtain a json key file for Google API (See https://www.fastcomet.com/tutorials/nodejs/google-spreadsheet-package) and place it inside the config directory\n1. Obtain a Twitter access token \n1. Create a Google Spreadsheet and get its id (The last part of the url: https://docs.google.com/spreadsheets/d/xxxxxxx)\n1. Make sure to share the sheet with `client_email` from within the Google json key file\n1. `npm start`\n\n\n### Environment Variables\nThe code relies on the following variables to be available, e.g. by using an `.env` file.\n```\nTW_BEARER_TOKEN=\u003cA Twitter API v2 bearer token\u003e\nTW_TERM=\u003cA search term\u003e\nTW_HASHTAG=\u003cA tag (without the # sign)\u003e\nTW_GOOGLE_DOC_ID=\u003cThe Google Sheet id to use\u003e\n```\nIt also requires the Google json keyfile to be stored in `/config/client_secret.json`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdevplatform%2Fetl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdevplatform%2Fetl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdevplatform%2Fetl/lists"}