{"id":18449750,"url":"https://github.com/alincode/youtube-playlist-summary","last_synced_at":"2025-04-08T01:33:08.516Z","repository":{"id":54160244,"uuid":"130771804","full_name":"alincode/youtube-playlist-summary","owner":"alincode","description":"it could help you easy to get all playlists informations.","archived":false,"fork":false,"pushed_at":"2021-03-06T16:39:16.000Z","size":70,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T04:11:15.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alincode.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-04-24T00:10:55.000Z","updated_at":"2021-03-06T16:39:18.000Z","dependencies_parsed_at":"2022-08-13T08:00:30.514Z","dependency_job_id":null,"html_url":"https://github.com/alincode/youtube-playlist-summary","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alincode%2Fyoutube-playlist-summary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alincode%2Fyoutube-playlist-summary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alincode%2Fyoutube-playlist-summary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alincode%2Fyoutube-playlist-summary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alincode","download_url":"https://codeload.github.com/alincode/youtube-playlist-summary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247760822,"owners_count":20991531,"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":[],"created_at":"2024-11-06T07:21:51.891Z","updated_at":"2025-04-08T01:33:08.247Z","avatar_url":"https://github.com/alincode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Youtube Playlist Summary\n\n![Travis](https://img.shields.io/travis/alincode/youtube-playlist-summary.svg)\n[![codecov](https://codecov.io/gh/alincode/youtube-playlist-summary/branch/master/graph/badge.svg)](https://codecov.io/gh/alincode/youtube-playlist-summary)\n![GitHub package version](https://img.shields.io/github/package-json/v/alincode/youtube-playlist-summary.svg)\n[![Dependency Status](https://img.shields.io/david/alincode/youtube-playlist-summary.svg?style=flat)](https://david-dm.org/alincode/youtube-playlist-summary) [![Greenkeeper badge](https://badges.greenkeeper.io/alincode/youtube-playlist-summary.svg)](https://greenkeeper.io/)\n![npm downloads](https://img.shields.io/npm/dt/youtube-playlist-summary.svg)\n\n\u003cp align=\"center\"\u003e\nit could help you easy to get all playlists informations.\n\u003c/p\u003e\n\n### Requirements\n\n- node 8.x\n\n### Install\n\n```\n$ npm install --save youtube-playlist-summary\n```\n\n### Usage\n\n- [How to get Youtube API key | step by step | 2020 - YouTube](https://www.youtube.com/watch?v=sVEytWDWYwM)\n\n```js\nconst PlaylistSummary = require('youtube-playlist-summary')\nconst config = {\n  GOOGLE_API_KEY: 'YOUR_GOOGLE_API_KEY', // require\n  PLAYLIST_ITEM_KEY: ['publishedAt', 'title', 'description', 'videoId', 'videoUrl'], // option\n}\n\nconst ps = new PlaylistSummary(config)\nconst CHANNEL_ID = 'UCQCaS3atWyNHEy5PkDXdpNg'\nconst PLAY_LIST_ID = 'PL9f8_QifuTL4CS8-OyA-4WADhkddOnRS4'\n\nps.getPlaylistItems(PLAY_LIST_ID)\n  .then((result) =\u003e {\n    console.log(result)\n  })\n  .catch((error) =\u003e {\n    console.error(error)\n  })\n\nps.getPlaylists(CHANNEL_ID)\n  .then((result) =\u003e {\n    console.log(result)\n  })\n  .catch((error) =\u003e {\n    console.error(error)\n  })\n\nps.getSummary(CHANNEL_ID)\n  .then((result) =\u003e {\n    console.log(result)\n  })\n  .catch((error) =\u003e {\n    console.error(error)\n  })\n```\n\n## License\n\nMIT © [alincode](https://github.com/alincode/youtube-playlist-summary)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falincode%2Fyoutube-playlist-summary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falincode%2Fyoutube-playlist-summary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falincode%2Fyoutube-playlist-summary/lists"}