Akdeniz / google-play-crawler

Play with Google Play API :)
Other
561 stars 204 forks source link

Some information (versionCode, versionString ,updatedDate) is missing in getAppDetails response #84

Open pravinshinde opened 8 years ago

pravinshinde commented 8 years ago

Hi Akdeniz,

I am getting issue while trying to get app details fom google play store using service.details(packageName) method. I have automated script to get details using GooglePlayAPI service . The script was running fine till last week. But, recently getting improper response from server

Below is the improper response for "com.king.candycrushsaga" package:-

appDetails { developerName: "King" majorVersionNumber: 1 title: "" appCategory: "GAME_CASUAL" contentRating: 1 developerEmail: "candycrush.techhelp@king.com" developerWebsite: "http://about.king.com/candy-crush-saga-faqs" numDownloads: "100,000,000+" packageName: "com.king.candycrushsaga" recentChangesHtml: "We hope you\342\200\231re having fun playing Candy Crush Saga! We update the game every week so don't forget to download the latest version to get all the sweet new features and levels!

New to the game? Don\342\200\231t be shy, join the fun!

Coming back after a break? About time!

Let\342\200\231s play!" appType: "GAME" 19: "npOzM2x2fDq6b8xN6tqfF57koFs" 21: 0 28: 0 }

Below is the proper response for "com.facebook.katana" package:-

appDetails { developerName: "Facebook" majorVersionNumber: 1 versionCode: 18971686 versionString: "58.0.0.28.70" title: "" appCategory: "SOCIAL" contentRating: 3 installationSize: 32979889 permission: "android.permission.ACCESS_COARSE_LOCATION" permission: "android.permission.WAKE_LOCK" permission: "android.permission.VIBRATE" permission: "android.permission.READ_CONTACTS" permission: "android.permission.WRITE_CONTACTS" permission: "android.permission.GET_ACCOUNTS" permission: "android.permission.MANAGE_ACCOUNTS" permission: "android.permission.AUTHENTICATE_ACCOUNTS" permission: "android.permission.READ_SYNC_SETTINGS" permission: "android.permission.WRITE_SYNC_SETTINGS" permission: "android.permission.ACCESS_FINE_LOCATION" permission: "android.permission.BROADCAST_STICKY" permission: "com.facebook.katana.provider.ACCESS" permission: "com.facebook.orca.provider.ACCESS" permission: "com.facebook.pages.app.provider.ACCESS" permission: "android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" permission: "android.permission.CAMERA" permission: "android.permission.RECORD_AUDIO" permission: "android.permission.WRITE_EXTERNAL_STORAGE" permission: "com.facebook.permission.prod.FB_APP_COMMUNICATION" permission: "com.facebook.permission.prod.SYSTEM_COMMUNICATION" permission: "android.permission.READ_PHONE_STATE" permission: "android.permission.READ_CALENDAR" permission: "android.permission.WRITE_CALENDAR" permission: "android.permission.READ_PROFILE" permission: "android.permission.READ_SMS" permission: "android.permission.CHANGE_NETWORK_STATE" permission: "android.permission.CHANGE_WIFI_STATE" permission: "android.permission.SYSTEM_ALERT_WINDOW" permission: "com.google.android.providers.gsf.permission.READ_GSERVICES" permission: "android.permission.READ_EXTERNAL_STORAGE" permission: "android.permission.ACCESS_NETWORK_STATE" permission: "com.facebook.katana.permission.CROSS_PROCESS_BROADCAST_MANAGER" permission: "android.permission.BATTERY_STATS" permission: "android.permission.ACCESS_WIFI_STATE" permission: "com.android.launcher.permission.INSTALL_SHORTCUT" permission: "android.permission.GET_TASKS" permission: "android.permission.RECEIVE_BOOT_COMPLETED" permission: "com.facebook.receiver.permission.ACCESS" permission: "android.permission.INTERNET" permission: "com.sec.android.provider.badge.permission.READ" permission: "com.sec.android.provider.badge.permission.WRITE" permission: "com.htc.launcher.permission.READ_SETTINGS" permission: "com.htc.launcher.permission.UPDATE_SHORTCUT" permission: "com.sonyericsson.home.permission.BROADCAST_BADGE" permission: "com.facebook.home.permission.WRITE_BADGES" permission: "com.google.android.c2dm.permission.RECEIVE" permission: "com.facebook.katana.permission.C2D_MESSAGE" permission: "com.nokia.pushnotifications.permission.RECEIVE" permission: "com.facebook.katana.permission.RECEIVE_ADM_MESSAGE" permission: "com.amazon.device.messaging.permission.RECEIVE" developerEmail: "android-support@fb.com" developerWebsite: "https://www.facebook.com/facebook" numDownloads: "1,000,000,000+" packageName: "com.facebook.katana" recentChangesHtml: "\342\200\242 Improvements for reliability and speed" uploadDate: "Dec 14, 2015" file { fileType: 0 versionCode: 18971686 size: 32979889 } appType: "APPLICATION" 19: "ijxLJi1yGs1JpL-X1SExmchvork" 21: 1 28: 0 32: 23 34: "\b\002\020\261\367\334\017\032\037\n\026com.google.android.gms\020\220\274\372\003 \001 \027" }

Some fields are missing in response like versionCode, versionString, permission etc.

Also, there is upload date discrepancy for some apps. The date which display on google play store and which we received in response is different.(e.g 'com.facebook.katana' application Play store date:Dec 17, 2015 And Service response date:Dec 14, 2015)

Currently, I am using googleplaycrawler-0.3.jar to get app details from play store. Can you please help me to resolve this issue.

Thanks, Pravin