Giter VIP home page Giter VIP logo

playlysis's Introduction

Playlysis

Google Play parser & analizer.

External Libraries

Requirements

Database

We are using MongoDB for storage.

Collections

  • apps: This collections stores the application's IDs. { "_id" : ObjectId("51983e8c8c65f2e78e8c7e09"), "appid" : "com.facebook.katana", "details" : { "appDetails" : { "versionCode" : "204208", "installationSize" : 18804498, "numDownloads" : "100,000,000+", "packageName" : "com.facebook.katana", "uploadDate" : "May 17, 2013" } }, "detailsUrl" : "details?doc=com.facebook.katana", "shareUrl" : "https://play.google.com/store/apps/details?id=com.facebook.katana", "purchaseDetailsUrl" : "details?doc=com.facebook.katana", "backendDocid" : "com.facebook.katana", "docType" : 1, "backendId" : 3, "title" : "Facebook", "creator" : "Facebook" }
  • updates: This collections stores the update notes. { "_id" : ObjectId("51982aa0a8d4f42d5253d80f"), "uploaded" : "May 17, 2013", "update_note" : "What's in this version:• Send stickers to make your messages more fun• Delete unwanted comments from your posts• Get directions, check in, call businesses and more right from the top of Facebook Pages", "appid" : "com.facebook.katana", "version" : "Varies with device", "published" : "May 17, 2013", "versionCode" : "204208", "dt" : ISODate("2013-05-19T01:28:00.823Z") }

Indexes

*appid index: *db.apps.ensureIndex({"appid":1}, {unique: true})

*update notes index: **db.updates.ensureIndex({"appid":1, "published"}, {unique: true})

Usage

Fetch IDs

$ python fetch_ids.py
2013-05-20 13:52:17,737 - INFO - Conecting to host localhost:27017
2013-05-20 13:52:17,738 - INFO - Using offset 100
.
.
.

Fetch update Notes

$ python play_parser.py
2013-05-20 13:53:35,225 - INFO - Conecting to host localhost:27017
2013-05-20 13:53:35,227 - INFO - Progress 0 %  of 1631 apps
2013-05-20 13:53:35,230 - INFO - Waiting for 1.0 seconds
.
.
.

Fetch update Notes

$ python playlysis.py
2013-06-28 20:39:54,753 - INFO - Conecting to host localhost:27017
2013-06-28 20:39:54,761 - INFO - Progress 0 %  of 182 notes
2013-06-28 20:39:54,765 - INFO - Progress 9 %  of 182 notes
.
.
.

2013-06-28 20:39:54,772 - INFO - Calculating tags
2013-06-28 20:39:56,792 - INFO - Generating cloud_large.png
2013-06-28 20:39:56,792 - INFO - File specs: h=900;w=600; max_tags=100; tag_max_size120
2013-06-28 20:39:58,044 - INFO - cloud_large.png succesfully created. Procces finished.

TODO

  • Add logging and documentation to playlysis
  • Add a web interface

playlysis's People

Contributors

mestrada avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.