GithubHelp home page GithubHelp logo

jmjeong / django-appsales Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 2.27 MB

iTunesConnect application sales report generator

Home Page: http://jmjeong.com/index.php/2010/11/django-appsales/

Shell 0.21% Python 99.79%

django-appsales's Introduction

django-appsales

django-appsales helps iPhone and iPad developers to track their application sales. django-appsales download your data from the web and store it in local database.

You can download django-appsales from Git-hub.

Characteristics

  • Track daily sales and Reviews
  • Total statistics for your application
  • It is free and is released under Apache License

Installation

Requirements

  • python 2.6 or later
  • django 1.2.3
  • django-extensions
  • django-pagination
  • pyofc2
  • south

You can install all of above program using easy install.

sudo easy_install django django-extensions django-pagination pyofc2 south

You need java package to download app sales data using AutoIngest.class tool.

sudo apt-get install openjdk-6-jre-headless

Download source code

git clone git://github.com/jmjeong/django-appsales.git appsales

Installation

  • Edit settings.py file
ACCOUNT_INFO = [
    {                                   # account 1
        'VENDOR_ID'   :   ,             # Vendor ID(8x...) the entity which you want to download the report
        'APPSTORE_ID' : '',             # iTunes Store AppStore ID
        'APPSTORE_PW' : '',             # iTunes Store AppStore PW
      
        # Directory where sales data is stored
        'DATA_DIR' : os.path.join(os.path.dirname(__file__), 'app1-sales-rawdata')
        },
    # {                                 # account 2
    #     'VENDOR_ID'   :   ,           # Vendor ID(8x...) 
    #     'APPSTORE_ID' : '',           # iTunes Store AppStore ID
    #     'APPSTORE_PW' : '',           # iTunes Store AppStore PW
      
    #     # Directory where sales data is stored
    #     'DATA_DIR' : os.path.join(os.path.dirname(__file__), 'app2-sales-rawdata')
    #     },
    ]

# for admob integration
#
ADMOB_INFO = {
    'client_key' : '',                  # API key
    'email' : '',                       # id
    'passwd' : '',                      # passwd
    }

  • ./manage.py syncdb
  • ./manage.py migrate

You can set admin account during syncdb process.

  • ./manage.py runserver
jmjeong-ui-MacBook-Pro:appsales jmjeong$ ./manage.py runserver
Validating models...
0 errors found

Django version 1.2.3, using settings 'appsales.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

For deploying your site, consults Django deployment document.

Upgrade

django-appsales use South package for upgrading from the previous version.

  • ./manage.py migrate --list
  • ./manage.py migrate --all

Download and Populate daily sales and reviews

  • ./manage.py runjob download
  • ./manage.py runjob populate
  • ./manage.py runjob download-admob
  • ./manage.py runjob download-review

Automation

You can register download script in crontab for automation.

crontab -e
@daily /path/to/cron.sh
@daily /path/to/manage.py runjob download-review

Screenshots

  • main page

    docs/mainpage.png

  • sort view

    docs/mainpage-sort.png

  • total statistics

    docs/app-page.png

Credits

django-appsales's People

Contributors

jmjeong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

breno

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.