Created
May 13, 2015 04:38
-
-
Save jaseflow/e08b66eb42c6b06e54e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var psi = require('psi'); | |
var testUrl = 'http://www.expedia.com/Cancun-Hotels.d179995.Travel-Guide-Hotels?psislp=1'; | |
module.exports = { | |
getScore: function() { | |
psi(testUrl, function (err, data) { | |
console.log(data.score); | |
}); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment