{"id":21831938,"url":"https://github.com/michaeltoohig/unofficial-vmgd-api","last_synced_at":"2026-05-21T05:32:52.029Z","repository":{"id":207098429,"uuid":"617696433","full_name":"michaeltoohig/unofficial-vmgd-api","owner":"michaeltoohig","description":"Unofficial API for the Vanuatu Meteorology and Geo-Hazards Department","archived":false,"fork":false,"pushed_at":"2024-07-01T15:57:26.000Z","size":1144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T09:21:22.483Z","etag":null,"topics":["fastapi","webscraping"],"latest_commit_sha":null,"homepage":"http://unofficial-vmgd-api.michaeltoohig.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaeltoohig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-22T23:16:57.000Z","updated_at":"2024-07-01T15:57:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7a434e8-ec95-486e-874a-538b44a17a97","html_url":"https://github.com/michaeltoohig/unofficial-vmgd-api","commit_stats":null,"previous_names":["michaeltoohig/unofficial-vanuatu-weather-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeltoohig%2Funofficial-vmgd-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeltoohig%2Funofficial-vmgd-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeltoohig%2Funofficial-vmgd-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeltoohig%2Funofficial-vmgd-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaeltoohig","download_url":"https://codeload.github.com/michaeltoohig/unofficial-vmgd-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244805036,"owners_count":20513212,"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","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":["fastapi","webscraping"],"created_at":"2024-11-27T19:16:58.839Z","updated_at":"2026-05-21T05:32:47.001Z","avatar_url":"https://github.com/michaeltoohig.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unofficial VMGD API\n\nA web scraper and API for the Vanuatu Meteorology \u0026 Geo-Hazards Department (VMGD) website.\nThe goal of this project is to provide VMGD data in a machine readable format.\nHowever, for no technical reason, I've limited the scope of the project to only the `forecast` and `warnings` section of the VMGD website.\n\n## Development\n\nFirst setup the environment file.\nUpdate the values as needed.\n\n```\ncp ./data/.env.template ./data/.env.development\n```\n\nThen build and start the container.\n\n```\ndocker compose -f docker-compose.development.yml build\ndocker compose -f docker-compose.development.yml up\n```\n\nThe dev server for the API will started.\n\nRun database migrations as needed.\n\n```\ndocker compose -f docker-compose.development.yml exec app alembic upgrade head\n```\n\nThen run the scraper.\n\n```\ndocker compose -f docker-compose.development.yml exec app python run_scraper.py\n```\n\n#### SSR HTML\n\nI'm thinking of removing this due to it being ugly, lol.\nI can show I can do better.\nBut, if you want to continue to develop the SSR application run the following to compile scss.\n\n```\ndocker compose -f docker-compose.development.yml exec app boussole {compile|watch}\n```\n\n## Tests\n\nRun pytest.\n\n```\ndocker compose -f docker-compose.development.yml exec app pytest tests/\n```\n\n## TODO\n\nFeatures\n\n- [ ] consider offering option to allow users to query by `fetched_at`, `issued_at` or other date value\n- [ ] fun api endpoints like \"do I need an umbrella today\" endpoint\n\nImprovements\n\n- [ ] fix forecast and other datetime responses that should be implicit VU timezone instead of returning UTC for **everything**.\n      Current tasks\n\nTasks\n\n- [ ] improve `/raw/pages` endpoint\n  - I removed these endpoints for now\n\n## Roadmap\n\n- [ ] track volcano activity\n- [ ] track cyclone activity\n- [ ] track el nino level\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeltoohig%2Funofficial-vmgd-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaeltoohig%2Funofficial-vmgd-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeltoohig%2Funofficial-vmgd-api/lists"}