Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
youtube-api-client
Advanced tools
A simple client to work with the Youtube API.
$ npm install youtube-api-client --save
import YoutubeAPI from 'youtube-api-client';
const youtube = new YoutubeAPI({
apiKey: 'YOUR_TOKEN_HERE'
});
youtube.getSearchResultsFor('Five Finger Death Punch');
const youtube = require('youtube-api-client');
const youtube = new YoutubeAPI({
apiKey: 'YOUR_TOKEN_HERE'
});
youtube.getSearchResultsFor('Asking Alexandria');
<!-- to import non-minified version -->
<script src="youtube-api-client.js"></script>
<!-- to import minified version -->
<script src="youtube-api-client.min.js"></script>
After that the library will be available to the Global as YoutubeAPI
. Follow an example:
const youtube = new YoutubeAPI({
apiKey: 'YOUR_TOKEN_HERE'
});
youtube.getSearchResultsFor('Angra');
Follow the methods that the library provides.
Search for youtube videos with provided query.
Arguments
Argument | Type | Options |
---|---|---|
query | string | 'Any search query' |
Example
youtube.getSearchResultsFor('Pink Floyd')
.then(result => {
// do what you want with the result
});
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
Caue Queiroz |
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
A simple client to work with Youtube API.
The npm package youtube-api-client receives a total of 2 weekly downloads. As such, youtube-api-client popularity was classified as not popular.
We found that youtube-api-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.