<commit_before># Wunderground::Api

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'wunderground-api' ,git:https://github.com/arnkroty/wunderground-api

And then execute:

    $ bundle

## Usage

TODO: Write usage instructions here
```ruby
#as a default config
Wunderground::Base.config do |c|
  c.lang    = "lang"
  c.format  = "json"
  c.api_key = api_key
  c.result_format = "json"
end
myapi = Wunderground::Base.new
#or
myapi = Wunderground::Base.new(lang:your_language,format:format,api_key:your_api_key)
```
 myapi.history_for("20130202",:location=>'JS/Nanjing',:result_format=>:Hash)
 #as a Hash {"response"=>{"version"=>"0.1", "termsofService"=>"http://www.wunderground.com/weather/api/d/terms.html", ...
myapi.history_for("20130202",:location=>'JS/Nanjing')
 #default as json  "\n{\n\t\"response\": {\n\t\t\"version\": \"0.1\"\n\t\t,\"termsofS ...
wapi.hourly_for(:location=>['JS','Nanjing'],:result_format=>'url') #get the api url
```
## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>change readme<commit_after># Wunderground::Api

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'wunderground-api' ,git:https://github.com/arnkroty/wunderground-api

And then execute:

    $ bundle

## Usage

TODO: Write usage instructions here
```ruby
#as a default config
Wunderground::Base.config do |c|
  c.lang    = "lang"
  c.format  = "json"
  c.api_key = api_key
  c.result_format = "json"
end
myapi = Wunderground::Base.new
#or
myapi = Wunderground::Base.new(lang:your_language,format:format,api_key:your_api_key)

myapi.history_for("20130202",:location=>'JS/Nanjing',:result_format=>:Hash)
 #as a Hash {"response"=>{"version"=>"0.1", "termsofService"=>"http://www.wunderground.com/weather/api/d/terms.html", ...
myapi.history_for("20130202",:location=>'JS/Nanjing')
 #default as json  "\n{\n\t\"response\": {\n\t\t\"version\": \"0.1\"\n\t\t,\"termsofS ...
wapi.hourly_for(:location=>['JS','Nanjing'],:result_format=>'url') #get the api url
```
## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
{'fraction_non_alphanumeric': 0.17361668003207698, 'fraction_numerical': 0.020048115477145148, 'mean_word_length': 4.8158508158508155, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '7069610', 'n_tokens_mistral': 949, 'n_tokens_neox': 901, 'n_words': 210}