
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
vw-goear-api
Advanced tools
Copia de goear_api con ciertos ajustes. Se muestra el readme.md de goear_api:
Simple API to goear service. This is a humble attemp to create an easy to use API for consuming GoEar music info.
Install the module with: npm install goear_api
var api = require('goear_api');
api.search("The Police - Bring on the night", function(err, data) {
console.log("Total songs available: " + data.totalCount);
console.log("First title available: " + data.tracks[0].title);
});
There is only one methods in this API:
This method sends a request to the service in order to search for provided terms.
Provided callback is called when results are available.
Due to the nature of the provider, chances are that the request can't be completed in a reasonable amount of time (example: You search for 100 songs of Michael Jackson with a minimum quality of 320kbps). In that case, the api will return the songs it had time to get.
Arguments:
Examples:
var api = require('goear_api');
// Basic search
api.search("Vetusta Morla", function(error, data) {
console.log("Total songs available: " + data.totalCount);
console.log("Returned songs: " + data.tracks.length): // Should be 10
console.log("First title available: " + data.tracks[0].title);
});
// Search for a song expecting 25 results with a quality equal or greater than 256kbs
api.search("The Police - Bring on the night", {
resultsCount: 25,
minQuality: 256
}, function(error, data) {
console.log("First title available: " + data.tracks[0].title);
});
Copyright (c) 2012 PaquitoSoft
Licensed under the MIT license.
FAQs
Copia de goear_api con unos leves cambios
We found that vw-goear-api 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.