How to use the app-store-scraper.app function in app-store-scraper

To help you get started, we’ve selected a few app-store-scraper examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github timoa / app-stores-prometheus-exporter / src / lib / prometheus.js View on Github external
return new Promise((resolve, reject) => {
    if (store === 'itunes') {
      itunes.app({
        appId: opt.appId,
        country: opt.country, // TODO: Support more countries
      })
        .then((data) => {
          setMetrics(store, opt.country, data) // TODO: Support more countries
            .then(resolve)
            .catch(reject);
        })
        .catch((err) => {
          reject(new Error(`Itunes Scraper error for the app "${opt.appId}" (${opt.country}): ${err.message}`));
        });
    }

    if (store === 'gplay') {
      gplay.app({
        appId: opt.appId,

app-store-scraper

scrape data from the itunes app store

MIT
Latest version published 10 months ago

Package Health Score

55 / 100
Full package analysis

Popular app-store-scraper functions