Git Product home page Git Product logo

weather_insight's Introduction

WeatherInsight

WeatherInsight acquire average data of past weather from goo. Only Japan data.

Notice

WeatherInsight is used Web scraping. Therefore be careful about excessive access to a Web server. Please use weather data which is written by your program in a file.

Installation

Add this line to your application's Gemfile:

gem 'weather_insight'

And then execute:

$ bundle

Or install it yourself as:

$ gem install weather_insight

Usage

require 'weather_insight'

# How to get 7/28 data.
month_data = WeatherInsight.month_data :aichi, 7
month_data[28]

Parameters

道北       :dohoku
道央       :doou
道東       :dotou
道南       :donan
青森       :aomori
秋田       :akita
岩手       :iwate
宮城       :miyagi
山形       :yamagata
福島       :fukushima
茨城       :ibaraki
栃木       :tochigi
群馬       :gunma
埼玉       :saitama
東京       :tokyo
千葉       :chiba
神奈川     :kanagawa
長野       :nagano
山梨       :yamanashi
静岡       :shizuoka
愛知       :aichi
岐阜       :gifu
三重       :mie
新潟       :nigata
富山       :toyama
石川       :ishikawa
福井       :fukui
滋賀       :shiga
京都       :kyoto
大阪       :osaka
兵庫       :hyogo
奈良       :nara
和歌山     :wakayama
岡山       :okayama
広島       :hiroshima
島根       :shimane
鳥取       :tottori
山口       :yamaguchi
徳島       :tokushima
香川       :kagawa
愛媛       :ehime
高知       :kochi
福岡       :fukuoka
大分       :oita
長崎       :nagasaki
佐賀       :saga
熊本       :kumamoto
宮崎       :miyazaki
鹿児島     :kagoshima
沖縄       :okinawa
宮古・石垣 :miyako_ishigaki
南大東島   :minamidaitojima

Contributing

  1. Fork it ( https://github.com/[my-github-username]/weather_insight/fork )
  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 a new Pull Request

weather_insight's People

Contributors

kozakana avatar

Watchers

 avatar  avatar

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.