SHARE
TWEET

Untitled

a guest Sep 16th, 2019 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var scraper = require("google-play-scraper")
  2.  
  3. // get a list of apps
  4. var apps = scraper.search({
  5.   term: "foo",
  6.   num: 100,
  7. })
  8.  
  9. var meta = []
  10.  
  11. // function to get meta from the app
  12. function getMeta(item) {
  13.     var appId = item.appId
  14.     var metadata = scraper.permissions({
  15.       appId: appId,
  16.     })
  17.     // append metadata to meta somehow idk js that well anymore
  18. }
  19.  
  20. apps.forEach(getMeta)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top