youtube-autocomplete - npm

文章推薦指數: 80 %
投票人數:10人

Get autocomplete search queries for YouTube without API keys! Usage. Install module using npm i youtube-autocomplete. Require the module. youtube-autocomplete0.0.1 • Public • Published4yearsagoReadmeExploreBETA0Dependencies0Dependents1Versionsyoutube-autocomplete GetautocompletesearchqueriesforYouTubewithoutAPIkeys! Usage Installmoduleusingnpmiyoutube-autocomplete Requirethemodule const AutoComplete = require('youtube-autocomplete'); AutoComplete(query,callback)-function query-String:Searchqueryforwhichyouwantsuggestions callback(err,queries)-function:Callbackfunction err-Error:Errormessageifanerroroccurs,nullifsuccessful queries-Object:SuggestionqueriesinJSONformat Examplecode: const AutoComplete = require('youtube-autocomplete'); AutoComplete('quer', (err, queries) => {  if (err) throw err;  console.log(queries);}); License MITCopyright©2018AkashRajendra KeywordsyoutubeautocompleteautosuggestInstallnpmiyoutube-autocompleteRepositoryGitgithub.com/arjndr/youtube-autocompleteHomepagegithub.com/arjndr/youtube-autocomplete#readmeDownloadsWeeklyDownloads2Version0.0.1LicenseMITUnpackedSize2.21kBTotalFiles4Lastpublish4yearsagoCollaboratorsTryonRunKitReportmalware



請為這篇文章評分?