Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chriskyfung/youtube-subscriber-spreadsheet-apps-script

Google Apps Script to extract and record the information of your YouTube subscribers from Gmail to Google Sheet
https://github.com/chriskyfung/youtube-subscriber-spreadsheet-apps-script

clasp gmail google-apps-script google-sheet youtube-subscribers youtubers-toolkit

Last synced: about 2 months ago
JSON representation

Google Apps Script to extract and record the information of your YouTube subscribers from Gmail to Google Sheet

Awesome Lists containing this project

README

        

Based on [EZ CLASP](https://github.com/cristobalgvera/ez-clasp) template

# πŸ’» TL;DR

This project is a [Google Apps Script](https://developers.google.com/apps-script) to extract and record the information of your YouTube subscribers from Gmail to Google Sheet.

```bash
git clone https://github.com/chriskyfung/youtube-subscriber-spreadsheet-apps-script.git
cd youtube-subscriber-spreadsheet-apps-script

npm install
npm run clasp:login # And access to your Google account
```

Run `npm run clasp:create` to create a new project. CLASP cli will prompt some project types, and select "sheets" to create a new Google Spreadsheet.

After you run this script, inside the created `.clasp.json` file, I strongly recommend you to change attribute `rootDir` to `.`. This way you can share and move your project without any issues. This is a Google CLASP CLI trouble.

Push your JavaScript project to Google Apps Script using

```bash
npm run push
```

The **first time** you execute this command, CLASP cli will ask you to overwrite manifest file [`appsscript.json`](./appsscript.json) of the project, insert `y` key and press `enter`.

This file contains the configuration required by Google to manage permissions and access to your project.

## Screenshots

![Screenshot of Google Spreadsheet](/assets/images/screenshot-gsheet.png)

## Language Support

| Language | Search Query |
| ---------- | ------------------------------------------------------------------ |
| English | Email subject: {_Subsciber Name_} has subscribed to you on YouTube |
| δΈ­ζ–‡(香港) | ι›»ιƒ΅δΈ»ι‘Œ: {_訂閱者名稱_} θ¨‚ι–±δΊ†δ½ ηš„ YouTube 頻道 |
| δΈ­ζ–‡(台灣) | ι›»ιƒ΅δΈ»ι‘Œ: {_訂閱者名稱_} θ¨‚ι–±δΊ†ζ‚¨ηš„ YouTube 頻道 |