facundoolano / aso

Tools for app store optimization on iTunes and Google Play
MIT License
734 stars 143 forks source link

support keyword phrases #16

Open lightbeard opened 6 years ago

lightbeard commented 6 years ago

I absolutely love this tool, but it seems there isn't a way to get the difficulty for a keyword phrase. For example:

Code

const itunes = require('aso')('itunes');
itunes.scores('cool panda').then(console.log);

Error

(node:30234) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of undefined at /Users/lion/code/aso/node_modules/app-store-scraper/lib/list.js:12:69 at Array.map () at cleanList (/Users/lion/code/aso/node_modules/app-store-scraper/lib/list.js:8:29) at at process._tickCallback (internal/process/next_tick.js:188:7)