NoMore201 / googleplay-api

Google Play Unofficial Python API
Other
413 stars 208 forks source link

categories not complete #89

Open codinguncut opened 5 years ago

codinguncut commented 5 years ago

I don't know how to get all categories. i.e. "FAMILY" has several "proper" subcategories, which do not seem reachable using this tool.

This is the results from https://github.com/facundoolano/google-play-scraper, googleplay-api only returns "FAMILY" and none of it subcategories...

[ 'GAME',
  'FAMILY',
  'ART_AND_DESIGN',
  'AUTO_AND_VEHICLES',
  'BEAUTY',
  'BOOKS_AND_REFERENCE',
  'BUSINESS',
  'COMICS',
  'COMMUNICATION',
  'DATING',
  'EDUCATION',
  'ENTERTAINMENT',
  'EVENTS',
  'FINANCE',
  'FOOD_AND_DRINK',
  'HEALTH_AND_FITNESS',
  'HOUSE_AND_HOME',
  'LIBRARIES_AND_DEMO',
  'LIFESTYLE',
  'MAPS_AND_NAVIGATION',
  'MEDICAL',
  'MUSIC_AND_AUDIO',
  'NEWS_AND_MAGAZINES',
  'PARENTING',
  'PERSONALIZATION',
  'PHOTOGRAPHY',
  'PRODUCTIVITY',
  'SHOPPING',
  'SOCIAL',
  'SPORTS',
  'TOOLS',
  'TRAVEL_AND_LOCAL',
  'VIDEO_PLAYERS',
  'ANDROID_WEAR',
  'WEATHER',
  'GAME',
  'GAME_ACTION',
  'GAME_ADVENTURE',
  'GAME_ARCADE',
  'GAME_BOARD',
  'GAME_CARD',
  'GAME_CASINO',
  'GAME_CASUAL',
  'GAME_EDUCATIONAL',
  'GAME_MUSIC',
  'GAME_PUZZLE',
  'GAME_RACING',
  'GAME_ROLE_PLAYING',
  'GAME_SIMULATION',
  'GAME_SPORTS',
  'GAME_STRATEGY',
  'GAME_TRIVIA',
  'GAME_WORD',
  'FAMILY',
  'FAMILY_ACTION',
  'FAMILY_BRAINGAMES',
  'FAMILY_CREATE',
  'FAMILY_EDUCATION',
  'FAMILY_MUSICVIDEO',
  'FAMILY_PRETEND',
  'APPLICATION' ]
archon810 commented 5 years ago

I'm seeing the same issue, but it seems Google has stopped providing them in the API. For example, if you look at an app that has a family category on the web Play Store, you won't see it in the app Play Store.

What's not clear to me is why this is happening. Is it a bug? Are they removing it and web is just lagging? I don't know.

codinguncut commented 5 years ago

This node script is giving me the above, as of now, but it actually extracts it from the html webpage: https://github.com/facundoolano/google-play-scraper/blob/dev/lib/categories.js

#!/usr/bin/env node
var gplay = require('google-play-scraper');
gplay.categories().then(console.log);