{"id":35038018,"url":"https://github.com/fteem/forecastr","last_synced_at":"2025-12-27T08:03:53.131Z","repository":{"id":15266585,"uuid":"17995774","full_name":"fteem/forecastr","owner":"fteem","description":"⛅️ Ruby gem used to fetch data from openweathermap.org's API","archived":false,"fork":false,"pushed_at":"2020-03-28T19:55:00.000Z","size":20,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-12T18:05:15.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fteem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-21T22:00:35.000Z","updated_at":"2020-03-27T22:10:59.000Z","dependencies_parsed_at":"2022-09-05T02:51:02.207Z","dependency_job_id":null,"html_url":"https://github.com/fteem/forecastr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fteem/forecastr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fforecastr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fforecastr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fforecastr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fforecastr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fteem","download_url":"https://codeload.github.com/fteem/forecastr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fteem%2Fforecastr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28075692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-27T08:03:52.489Z","updated_at":"2025-12-27T08:03:53.120Z","avatar_url":"https://github.com/fteem.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forecastr\n\nA VERY minimal gem for openweathermap.org's API. Currently supports only current forecast - temperature, pressure, humidity, min/max temperatures and wind (speed and direction).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'forecastr'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install forecastr\n\n## Usage\n\nYou can search for forecast by city:\n```ruby\n  london = Forecastr::Radar.find_by_city(\"London,UK\")\n  london.temperature.to_celsius\n  # =\u003e 18\n```\n\nOr, you can search for forecast by coordinates:\n```ruby\n  london = Forecastr::Radar.find_by_coordinates(51.5072, 0.1275)\n  london.temperature.to_celsius\n  # =\u003e 18\n```\n\nSome methods:\n```ruby\n  skopje = Forecastr::Radar.find_by_coordinates(42.00, 21.4333)\n\n  skopje.temperature.to_celsius\n  # =\u003e 10\n  skopje.temperature.to_farenheit\n  # =\u003e 50\n  skopje.humidity\n  # =\u003e 45\n  skopje.pressure\n  # =\u003e 1002\n  skopje.wind.direction\n  # =\u003e NE\n  skopje.wind.speed\n  # =\u003e 3.2 m/s\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Author\nIle Eftimov \u003cbr\u003e [website](http://eftimov.net) [twitter](http://twitter.com/fteem)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffteem%2Fforecastr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffteem%2Fforecastr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffteem%2Fforecastr/lists"}