<commit_before>h1. Apprank

Get iOS app rank data from Apple.

h2. Installation

To install, add apprank to your @Gemfile@ and run `bundle install`:

<pre>
gem 'apprank'
</pre>

h2. Demo

<pre>
require 'open-uri'
require 'apprank'
json = open('http://itunes.apple.com/us/rss/topfreeapplications/limit=25/json')
rank = Apprank::Rank.new(json)
puts rank.apps.first.name # => "Some popular free app name"
</pre><commit_msg>fix readme<commit_after>h1. Apprank

Get iOS app rank data from Apple.

h2. Installation

To install, add apprank to your @Gemfile@ and run `bundle install`:

<pre>
gem 'apprank'
</pre>

h2. Demo

<pre>
require 'open-uri'
require 'apprank'
json = open('http://itunes.apple.com/us/rss/topfreeapplications/limit=25/json')
rank = Apprank::Rank.new(json)
rank.apps.first.name # => "Some popular free app name"
</pre>
{'fraction_non_alphanumeric': 0.14423076923076922, 'fraction_numerical': 0.01201923076923077, 'mean_word_length': 4.590604026845638, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5580570', 'n_tokens_mistral': 314, 'n_tokens_neox': 309, 'n_words': 89}