hazewatchapp / apims_data Goto Github PK
View Code? Open in Web Editor NEWMalaysia Haze Watch data feed used by open source applications and services.
Home Page: http://data.hazewatchapp.com
License: Creative Commons Zero v1.0 Universal
Malaysia Haze Watch data feed used by open source applications and services.
Home Page: http://data.hazewatchapp.com
License: Creative Commons Zero v1.0 Universal
I just build an iOS app using this data feed.
App link: https://itunes.apple.com/us/app/haze-malaysia/id1050882175?ls=1&mt=8
Source code: https://github.com/alienxp03/hazemalaysia
Hi guys,
Just writing to let you know that both
http://data.hazewatchapp.com/index.json
http://data.hazewatchapp.com/index_v2.json
Have an issue with the data for some of the states after Sarawak are overwritten by Sarawak itself.
{ "pagi": "32", "last_updated": "2016-09-07 21:55:10", "lokasi": "Tawau", "negeri": "Sabah", "terkini": "29", "location": { "state": "Sabah", "coordinates": { "latitude": "4.249869", "longitude": "117.935829" }, "area": "Tawau" }, "petang": "27", "data": [ { "index": "35", "time": "12AM" }, { "index": "35", "time": "1AM" }, { "index": "35", "time": "2AM" }, { "index": "35", "time": "3AM" }, { "index": "35", "time": "4AM" }, { "index": "34", "time": "5AM" }, { "index": "33", "time": "6AM" }, { "index": "32", "time": "7AM" }, { "index": "31", "time": "8AM" }, { "index": "29", "time": "9AM" }, { "index": "29", "time": "10AM" }, { "index": "28", "time": "11AM" }, { "index": "28", "time": "12PM" }, { "index": "27", "time": "1PM" }, { "index": "27", "time": "2PM" }, { "index": "27", "time": "3PM" }, { "index": "27", "time": "4PM" }, { "index": "27", "time": "5PM" }, { "index": "27", "time": "6PM" }, { "index": "28", "time": "7PM" }, { "index": "28", "time": "8PM" }, { "index": "29", "time": "9PM" }, { "index": "", "time": "10PM" }, { "index": "", "time": "11PM" } ], "latest": { "index": "29", "time": "9PM" }, "tengah_hari": "28" }, { "pagi": "35", "last_updated": "2016-09-07 21:55:10", "lokasi": "Bintulu", "negeri": "Sarawak", "terkini": "46", "location": { "state": "Sarawak", "coordinates": { "latitude": "3.177106", "longitude": "113.041214" }, "area": "Bintulu" }, "petang": "47", "data": [ { "index": "41", "time": "12AM" }, { "index": "41", "time": "1AM" }, { "index": "37", "time": "2AM" }, { "index": "36", "time": "3AM" }, { "index": "35", "time": "4AM" }, { "index": "34", "time": "5AM" }, { "index": "32", "time": "6AM" }, { "index": "35", "time": "7AM" }, { "index": "35", "time": "8AM" }, { "index": "39", "time": "9AM" }, { "index": "44", "time": "10AM" }, { "index": "45", "time": "11AM" }, { "index": "46", "time": "12PM" }, { "index": "47", "time": "1PM" }, { "index": "47", "time": "2PM" }, { "index": "47", "time": "3PM" }, { "index": "47", "time": "4PM" }, { "index": "47", "time": "5PM" }, { "index": "47", "time": "6PM" }, { "index": "47", "time": "7PM" }, { "index": "47", "time": "8PM" }, { "index": "46", "time": "9PM" }, { "index": "", "time": "10PM" }, { "index": "", "time": "11PM" } ], "latest": { "index": "46", "time": "9PM" }, "tengah_hari": "45" }, { "pagi": "24", "last_updated": "2016-09-07 21:55:10", "lokasi": "Bintulu", "negeri": "Sarawak", "terkini": "26", "location": { "state": "Sarawak", "coordinates": { "latitude": "3.177106", "longitude": "113.041214" }, "area": "Bintulu" }, "petang": "26", "data": [ { "index": "20", "time": "12AM" }, { "index": "21", "time": "1AM" }, { "index": "22", "time": "2AM" }, { "index": "23", "time": "3AM" }, { "index": "23", "time": "4AM" }, { "index": "23", "time": "5AM" }, { "index": "24", "time": "6AM" }, { "index": "24", "time": "7AM" }, { "index": "25", "time": "8AM" }, { "index": "26", "time": "9AM" }, { "index": "26", "time": "10AM" }, { "index": "26", "time": "11AM" }, { "index": "26", "time": "12PM" }, { "index": "27", "time": "1PM" }, { "index": "26", "time": "2PM" }, { "index": "26", "time": "3PM" }, { "index": "25", "time": "4PM" }, { "index": "26", "time": "5PM" }, { "index": "", "time": "6PM" }, { "index": "", "time": "7PM" } ], "latest": { "index": "26", "time": "5PM" }, "tengah_hari": "26" }
There is no longer data from Wilayah Persekutuan and the last updated was at 9pm yesterday
~$ curl -s http://data.hazewatchapp.com/index_v2.json | jq .last_updated
"2016-09-07 21:55:10"
~$ date
Fri Sep 23 14:34:38 SGT 2016
Will it be hourly update in the future?
Could you please link http://my.dabase.com/ with the source here: https://github.com/kaihendry/pjhaze
Do you document exactly how the apims_data was fetch and pushed to github somewhere? :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.