
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
A Ruby object-oriented interface to the Yahoo! Weather JSON API.
It supports caching and i18n.
$ gem install yahoo_weather
Include in your Gemfile:
gem 'yahoo_weather'
http://developer.yahoo.com/weather/
Fetch by woeid:
client = YahooWeather::Client.new
response = client.fetch(12797168)
response.units.temperature # "F"
response.condition.temp # 60
response.wind.direction # 110
response.wind.direction('string') # "ESE"
response.condition.code # 29
response.condition.code('string') # "Partly cloudy (night)"
FYI: If you want to use string condition code don't forget to copy locales
Fetch by location:
client = YahooWeather::Client.new
response = client.fetch_by_location('New York')
Copy locale command:
rails g yahoo_weather:copy_locale en
Available locales are:
en, ru
MIT License. Copyright 2013 Ildar Manzhikov manzhikov@gmail.com. http://manzhikov.com
FAQs
Unknown package
We found that yahoo_weather demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.