Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alincode/youtube-playlist-markdown
it could help you scan all playlist information and generate friendly markdown table.
https://github.com/alincode/youtube-playlist-markdown
Last synced: about 2 months ago
JSON representation
it could help you scan all playlist information and generate friendly markdown table.
- Host: GitHub
- URL: https://github.com/alincode/youtube-playlist-markdown
- Owner: alincode
- License: mit
- Created: 2018-04-25T04:31:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-26T01:30:23.000Z (over 3 years ago)
- Last Synced: 2024-11-01T11:35:40.789Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 217 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Youtube playlist markdown
![GitHub package version](https://img.shields.io/github/package-json/v/alincode/youtube-playlist-markdown.svg)
![node version](https://img.shields.io/node/v/youtube-playlist-markdown.svg)
![npm downloads](https://img.shields.io/npm/dt/youtube-playlist-markdown.svg)
[![Dependency Status](https://img.shields.io/david/alincode/youtube-playlist-markdown.svg?style=flat)](https://david-dm.org/alincode/youtube-playlist-markdown)It could help you scan all playlist information and generate friendly markdown table, look like below. if you want to use [**cli mode**](https://www.npmjs.com/package/youtube-playlist-markdown-cli), you could go [here](https://www.npmjs.com/package/youtube-playlist-markdown-cli).
![](assets/output.jpg)
### Features
* You could choose get all playlist or only one.
### Change Log
change | version
---------|----------
Fixed content include special word | 1.4.3### Requirements
* node 8.x.x
### Install```
npm i youtube-playlist-markdown --save
```
### UsageFirst, you need to get your API key, if you don't know how to do, maybe this video could help you.
[how to create YouTube API Key 2019 - YouTube](https://www.youtube.com/watch?v=3jZ5vnv-LZc)
then
```js
const YoutubePlaylistMarkdown = require('youtube-playlist-markdown');const config = {
"GOOGLE_API_KEY": "========== YOUR_GOOGLE_API_KEY =========="
};let ypm = new YoutubePlaylistMarkdown(config);
const playlistId = 'PLrG78JjvL7hWqX2FW54Ck8UP45fbWQXcu';
ypm.generatorPlaylist(playlistId);const channelId = 'UCJi9ZAuo99MqMuJUXiJjpsA';
ypm.generatorAll(channelId);
```## Relevant Projects
* [youtube-playlist-summary](https://github.com/alincode/youtube-playlist-summary)
* [youtube-playlist-markdonw-cli](https://github.com/alincode/youtube-playlist-markdown-cli)## License
MIT © [alincode](https://github.com/alincode/youtube-playlist-markdown)