1.0.2 • Published 5 years ago

trends-homepage v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

trends-homepage

**Rank the Google Trends API words on a home page

The mission of trends home page is to obtain a score for each hot Google Trends word on the links of a page.

Usage:

const mustangtrends = require('trends-homepage');


mustangtrends.getResultTrendsNow("https://www.infobae.com", null, function(e, resultados){
	if (e) {
		return console.log("Error en getResultTrendsNow: " + e);
	}
	mustangtrends.printConsole(resultados);
});

And in the console we can see the test results

using the printConsole function

Key: 1 - 100% :Mercedes Sosa : 2.9270174841830694 /sociedad/2019/01/31/google-homenajea-a-mercedes-sosa-a-54-anos-de-su-primera-actuacion-en-el-festival-de-cosquin/
Key: 2 - 0% :Zampedri : 0 

License

trends-homepage licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved.