Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby
branch: master

This branch is 1 commit ahead of tdoyle:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
README.markdown
google-play.gemspec

README.markdown

Google Play Unofficial Gem

A gem to pull movie, music and book data from Google Play, it was built with Nokogiri

Dependencies

  • Nokogiri

Known issues

  • The gem is useless if you or your server is located outside the US since the play store is not accessible in those locations

How to install

gem install google-play

Examples

Get top movies and list their titles

require 'rubygems'
require 'google-play'

GooglePlay.top("movie").each{ |movie|
    puts movie.title
}

Search for a query and display results

require 'rubygems'
require 'google-play'

GooglePlay.search("Tim & Eric", "movies", 0).each{ |movie|
   puts "#{movie.title} - #{movie.rating}"
}

Get single movie info

require 'rubygems'
require 'google-play'
require 'awesome_print'

movieinfo = GooglePlay.info("rAl1OjoWNvY", "movies")
ap movieinfo
Something went wrong with that request. Please try again.