{"id":14979851,"url":"https://github.com/webdevel/youtube-search-google-api","last_synced_at":"2025-10-28T20:30:16.608Z","repository":{"id":57404323,"uuid":"108688802","full_name":"webdevel/youtube-search-google-api","owner":"webdevel","description":"YouTube Search Google API for Node.js. Search for YouTube videos, channels, playlists and live events via Google API for Node.js.","archived":false,"fork":false,"pushed_at":"2017-11-04T07:40:50.000Z","size":70,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T22:21:48.268Z","etag":null,"topics":["api","channel","google","google-api-youtube","google-api-youtube-search","node","node-js","nodejs","playlist","search","video","youtube","youtube-api","youtube-channels","youtube-google-api","youtube-playlists","youtube-search","youtube-search-google-api","youtube-videos"],"latest_commit_sha":null,"homepage":null,"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/webdevel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-10-28T22:28:53.000Z","updated_at":"2022-05-13T04:14:11.000Z","dependencies_parsed_at":"2022-09-08T14:12:40.953Z","dependency_job_id":null,"html_url":"https://github.com/webdevel/youtube-search-google-api","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevel%2Fyoutube-search-google-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevel%2Fyoutube-search-google-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevel%2Fyoutube-search-google-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevel%2Fyoutube-search-google-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdevel","download_url":"https://codeload.github.com/webdevel/youtube-search-google-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238710380,"owners_count":19517693,"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":["api","channel","google","google-api-youtube","google-api-youtube-search","node","node-js","nodejs","playlist","search","video","youtube","youtube-api","youtube-channels","youtube-google-api","youtube-playlists","youtube-search","youtube-search-google-api","youtube-videos"],"created_at":"2024-09-24T14:00:47.091Z","updated_at":"2025-10-28T20:30:16.017Z","avatar_url":"https://github.com/webdevel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Youtube Search Google API\n[![Build Status](https://travis-ci.org/webdevel/youtube-search-google-api.svg?branch=master)](https://travis-ci.org/webdevel/youtube-search-google-api)\n[![Coverage Status](https://coveralls.io/repos/github/webdevel/youtube-search-google-api/badge.svg?branch=master)](https://coveralls.io/github/webdevel/youtube-search-google-api?branch=master)\n[![Version](https://img.shields.io/npm/v/youtube-search-google-api.svg)](https://www.npmjs.com/package/youtube-search-google-api)\n[![License](http://img.shields.io/badge/license-MIT-blue.svg?)](LICENSE)\n[![Downloads](https://img.shields.io/npm/dt/youtube-search-google-api.svg)](https://www.npmjs.org/package/youtube-search-google-api)\n[![Dependencies](https://img.shields.io/david/webdevel/youtube-search-google-api.svg)](https://david-dm.org/webdevel/youtube-search-google-api)\n\nYouTube Search Google API for [Node.js]. Search for YouTube videos, channels, playlists and live events via Google API for [Node.js].\n\n### Installing\nThis module is designed to be usable via server-side for [Node.js] or in a browser client-side.\n```\nnpm install youtube-search-google-api\n```\n### Configuration\nThere are 2 HTTP clients provided [request] and [xhr]. They handle the server-side and client-side respectively.\n###### Browser Support\nFor [Browserify], add a browser field to your `package.json`:\n```\n\"browser\": {\n  \"request\": \"xhr\"\n}\n```\nFor [Webpack], add a resolve.alias field to your configuration:\n```\n\"resolve\": {\n  \"alias\": {\n    \"request$\": \"xhr\"\n  }\n}\n```\n### Usage\nAuthorization via Google API Key or OAuth 2.0 token is required by Google. More information regarding Google authentication can be found at [Calling the API]. All other parameters are optional.\n\n```JavaScript\nimport { YouTube, SearchRequest } from 'youtube-search-google-api'\n\nconst youtube = new YouTube()\n\nyoutube.search(new SearchRequest(\n  {\n    query: {\n      key: 'AlzaSydu39i6-bseHDgCfG_SNE_hQwuGdc53Vws',\n      maxResults: 50,\n      order: 'viewCount',\n      type: 'video',\n      publishedAfter: '2017-10-01T00:00:00Z',\n      q: 'pumpkin|halloween+dog -cat'\n    }\n  }, function(error, response, body) {\n    // Handle the response...\n  }))\n```\n\n### Dependencies\nThis module depends on the following.\n- [lodash]\n- [xhr]\n- [request]\n\n### Contributing\nPlease read [Contributing]. Feel free to submit pull requests, issues and comments! Thank you. Participants will be added to the list of [Contributors].\n\n### Alternatives\nThere is also a light weight alternative to this module [Youtube Search].\n\n### License\n*YouTube Search Goggle API* is Free and Open Source Software. It is licensed by the MIT License.\n\n[YouTube Search Google API]: https://github.com/webdevel/youtube-search-google-api\n[Calling the API]: https://developers.google.com/youtube/v3/docs/#calling-the-api\n[Youtube Search]: https://github.com/MaxGfeller/youtube-search\n[lodash]: https://github.com/lodash/lodash\n[xhr]: https://github.com/naugtur/xhr\n[request]: https://github.com/request/request\n[Contributors]: https://github.com/webdevel/youtube-search-google-api/blob/master/CONTRIBUTORS.md\n[Contributing]: https://github.com/webdevel/youtube-search-google-api/blob/master/CONTRIBUTING.md\n[Node.js]: https://nodejs.org/en/\n[Browserify]: http://browserify.org/\n[Webpack]: https://webpack.js.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevel%2Fyoutube-search-google-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevel%2Fyoutube-search-google-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevel%2Fyoutube-search-google-api/lists"}