Giter Club home page Giter Club logo

android_market_api's People

Contributors

henteko avatar hvasconcelos avatar samsonjs avatar sue445 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rejasupotaro

android_market_api's Issues

add single ver methods

already exists

    def get_overall_top_grossing_apps(position,language='en')

    def get_overall_top_selling_new_paid_apps(position,language='en')

    def get_overall_top_selling_new_free_apps(position,language='en')

add these methods

    def get_overall_top_grossing_app(position,language='en')

    def get_overall_top_selling_new_paid_app(position,language='en')

    def get_overall_top_selling_new_free_app(position,language='en')

add other rankings APIs

  • Top Grossing : 売り上げトップ
  • Top New Paid : 人気の新着(有料)
  • Top New Free : 人気の新着(無料)

use stub at spec

  • on local spec
    • use stub API
  • on travis spec
    • use real google API

because many requests are rejected by google

don't use open-uri

    doc = Hpricot(open(url,'User-Agent' => 'ruby'))

open-uri open() write cache file to /tmp/ when response is big (maybe).
this cache is not deleted. (I experienced DISK FULL !)

so I dont want to use open-uri

impl label name method

methods

def game_categories(locale="en") # => {"ARCADE" => "Arcade & Action", ...}
def application_categories(locale="en") # => {"BOOKS_AND_REFERENCE" => "Books & Reference", ...}

en.yml

game_categories:
  ARCADE: Arcade & Action
  BRAIN: Brain & Puzzle
application_categories:
  BOOKS_AND_REFERENCE: Books & Reference
  BUSINESS: Business

support hash options

  • now
    • get_top_selling_free_app_in_category(category,position,language='en')
  • future
    • get_top_selling_free_app_in_category(category, position, options={})

update constants

class AndroidMarket

  @@game_categories=Array.[]('ARCADE','BRAIN','CARDS','CASUAL','GAME_WALLPAPER','RACING','SPORTS_GAMES','GAME_WIDGETS')
  @@application_categories=Array.[]('BOOKS_AND_REFERENCE','BUSINESS','COMICS','COMMUNICATION','EDUCATION','ENTERTAINMENT','FINANCE','HEALTH_AND_FITNESS','LIBRARIES_AND_DEMO','LIFESTYLE','APP_WALLPAPER','MEDIA_AND_VIDEO','MEDICAL','MUSIC_AND_AUDIO','NEWS_AND_MAGAZINES','PERSONALIZATION','PHOTOGRAPHY','PRODUCTIVITY','SHOPPING','SOCIAL','SPORTS','TOOLS','TRANSPORTATION','TRAVEL_AND_LOCAL','WEATHER','APP_WIDGETS')
  @@languages=Array.[]('en','pt_PT','pt_BR','es','es_419','fr','it','es')

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.