play_to_json.rb is a quick script I wrote to generate a JSON output from a Google Play page. It will work for search results, app search results pages, your wishlist, etc.
Download the page you'd like to parse; I've been right-clicking, Save As..., and then choosing Format: HTML Only in Chrome. Then, just point the script at the file like this:
ruby play_to_json.rb '/Users/me/Downloads/search_results.html'
You will get pretty-formatted JSON to STDOUT. You can always redirect the output to a file.
ruby play_to_json.rb 'file.html' > output_file.json
That's it!
You'll need the gem nokogiri
to run this script.