Home » Php » php – Get all apps listed in google play developer console page

php – Get all apps listed in google play developer console page

Posted by: admin July 12, 2020 Leave a comment

Questions:

I want to get all apps data that are listing in developer console page. for this purpose I analyze the ajax request from firebug console.
1) A GET to the authentication page(https://play.google.com/apps/publish/), gather cookies and other information

2) A POST using those values + my login credentials, to get the xsrftoken and developersconsoleaccounts variables

3) Then make POST requests https://play.google.com/apps/publish/insights?dev_acc=devID and set post var xsrftoken, method, params

it return some garbage data

‹¬TÉnÛ0ý•I‚qZ²’À‰6èv)Ú¢H=”8’S¤JÒ–Ã@£¿×/))ÛÙŠº\DhH½šI^}xyóåãkhl+òÔ?APYg(ó´EK¡l¨6h³¹­ÈÕ®&i‹Ù‚cß)m¡TÒ¢´Ù!—Ürˆ)©Àlr­«´óö¡Ðsf›Œá‚—H†—Ã<µÜ
Ì_k­4\„pò^Yx£æ’&i°ÝO]¹åtÝR]s‡IG㲎×}V
†ëÊi‰’—Ý2ˆ¢n T;=g†JCj^
‘×-gµöñQUUI©„ÒñQE÷˜bS(¶ÚÓMέ‚0iér+=>¿»eâL’yÝ8â+_Øcœ»a€:…¸GÜs-N‚
ïûq­T-p\ª6à-­ÑèÓ0V…²ãNÖ#˜„á18(ŠhìÚ=Ñyz¢n/x2Ø}‰Z
®„êã†3†rÃ¥YïLO§ÓÄâÒ†¥ÒÔr%c©$n(ð¶^J3Ô.â-2NÁ”Q•N‚˜NËhýÜ
ÇI¶rˆU]ü8»aï©p³9ªV˜‘ÿäÖ´·Ñ6§ûxö’•«§ºF‰ùàvr±ŽÖÿÄ}Ûègôà®+<†kó„´êŽló$Ê߸”~gŒôX̸%Þà®Ç:¾DA†{£ÿî1Ù3>
Ãï0¾w½¿RÆM’è*æRp‰¤ªœ%»®¹tÿm²ý+&—®g6i°íõ”ñp–ÒŠbˆ5Ôh76(4«ìõnRtTúï<ó0ˆ
Šìíp(wðî€[hžvyZänèŒÓ
È!u‘ß4ÔþøöݸLau{¾îÎÞ4¿ÎÑXdðùÓ;è©qqX¨¼ww#nÀÍ×qãç[email protected]“ªßCÎaþÿÿ™èYR…

but when I analysis in firbug this url return json obj that contain all information of user apps

In my case, it is returning the garbage value instead of the user array.

How to&Answers:

This is GZIPped compressed data. Appears to be a 404 page if you request it normally.

If you take your firebug request, and check out the headers that have been sent there – you’ll have to add those headers to the request (most likely).

If you can replay the request with the proper headers it will probably return the right data. Allthough, im not sure if Google likes what you’re doing… You might want to check up on that.