LankaTwin API
Free JSON, CSV, GeoJSON and Atom feeds of weather, air, flood risk, rivers, river gauges and signals for every district of Sri Lanka. No key, hourly.
LankaTwin needs JavaScript to show live data. It is free, unofficial and open source; for official warnings follow the Department of Meteorology and the Disaster Management Centre (hotline 117).