{"id":21020148,"url":"https://github.com/jdennes/buienalarm","last_synced_at":"2026-04-01T16:56:55.329Z","repository":{"id":66913308,"uuid":"56976937","full_name":"jdennes/buienalarm","owner":"jdennes","description":"Super-simple library to scrape Buienalarm.nl for projected rainfall.","archived":false,"fork":false,"pushed_at":"2017-05-12T18:54:47.000Z","size":35,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-03-27T23:42:15.156Z","etag":null,"topics":["dutch","netherlands","rainfall","ruby","weather"],"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/jdennes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-04-24T14:48:52.000Z","updated_at":"2019-09-04T02:31:31.000Z","dependencies_parsed_at":"2023-02-25T05:45:23.182Z","dependency_job_id":null,"html_url":"https://github.com/jdennes/buienalarm","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"15fc2ed69fb90b9a96ee2ee12c5a50ab7031bcb9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdennes/buienalarm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Fbuienalarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Fbuienalarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Fbuienalarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Fbuienalarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdennes","download_url":"https://codeload.github.com/jdennes/buienalarm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdennes%2Fbuienalarm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dutch","netherlands","rainfall","ruby","weather"],"created_at":"2024-11-19T10:35:51.102Z","updated_at":"2026-04-01T16:56:55.311Z","avatar_url":"https://github.com/jdennes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buienalarm\n\nThis is a super-simple library to scrape [Buienalarm.nl](http://www.buienalarm.nl/) for projected rainfall.\n\nCurrently just provides the following interface for scraping projected rainfall for a location in the next two hours:\n\n```rb\n\u003e\u003e result = Buienalarm::Scraper.scrape(\"rotterdam\")\n=\u003e {:location=\u003e\"Rotterdam\", :rainfall=\u003e[{:time=\u003e#\u003cDateTime: 2016-05-02T09:40:00+02:00 ((2457511j,27600s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T09:45:00+02:00 ((2457511j,27900s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T09:50:00+02:00 ((2457511j,28200s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T09:55:00+02:00 ((2457511j,28500s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:00:00+02:00 ((2457511j,28800s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:05:00+02:00 ((2457511j,29100s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:10:00+02:00 ((2457511j,29400s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:15:00+02:00 ((2457511j,29700s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:20:00+02:00 ((2457511j,30000s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:25:00+02:00 ((2457511j,30300s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:30:00+02:00 ((2457511j,30600s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:35:00+02:00 ((2457511j,30900s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:40:00+02:00 ((2457511j,31200s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:45:00+02:00 ((2457511j,31500s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:50:00+02:00 ((2457511j,31800s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T10:55:00+02:00 ((2457511j,32100s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:00:00+02:00 ((2457511j,32400s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:05:00+02:00 ((2457511j,32700s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:10:00+02:00 ((2457511j,33000s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:15:00+02:00 ((2457511j,33300s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:20:00+02:00 ((2457511j,33600s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:25:00+02:00 ((2457511j,33900s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:30:00+02:00 ((2457511j,34200s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:35:00+02:00 ((2457511j,34500s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}, {:time=\u003e#\u003cDateTime: 2016-05-02T11:40:00+02:00 ((2457511j,34800s,0n),+7200s,2299161j)\u003e, :rainfall=\u003e0.0003924189758484536, :level=\u003e\"none\"}]}\n```\n\nAlso provides `script/scrape` to test this from the command line:\n\n```\n$ script/scrape rotterdam\n===\u003e Scraping Buienalarm.nl...\n\nProjected rainfall for the next two hours in Rotterdam:\n\n20:00 - 1.54mm/hour (heavy)\n20:05 - 1.91mm/hour (heavy)\n20:10 - 1.54mm/hour (heavy)\n20:15 - 2.74mm/hour (heavy)\n20:20 - 3.92mm/hour (heavy)\n20:25 - 5.23mm/hour (heavy)\n20:30 - 3.65mm/hour (heavy)\n20:35 - 2.37mm/hour (heavy)\n20:40 - 0.87mm/hour (moderate)\n20:45 - 1.33mm/hour (heavy)\n20:50 - 0.21mm/hour (moderate)\n20:55 - 0.03mm/hour (light)\n21:00 - 0.00mm/hour (none)\n21:05 - 0.00mm/hour (none)\n21:10 - 0.00mm/hour (none)\n21:15 - 0.00mm/hour (none)\n21:20 - 0.02mm/hour (light)\n21:25 - 0.00mm/hour (none)\n21:30 - 0.00mm/hour (none)\n21:35 - 0.00mm/hour (none)\n21:40 - 0.09mm/hour (light)\n21:45 - 0.09mm/hour (light)\n21:50 - 0.18mm/hour (moderate)\n21:55 - 1.07mm/hour (heavy)\n22:00 - 0.65mm/hour (moderate)\n```\n\nTo work on this locally:\n\n```\nscript/bootstrap\n```\n\nTo run the tests:\n\n```\nscript/test [test/test_file.rb]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdennes%2Fbuienalarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdennes%2Fbuienalarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdennes%2Fbuienalarm/lists"}