Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"success": true,
"data": {
"sources": ["http:\/\/www.cpcb.nic.in"],
"history": [{
"type": "index",
"kind": "aqi_us",
"interval": "daily",
"unit": "",
"name": "",
"data": [{
"time": "2020-01-05"
}, {
"time": "2020-01-06",
"ratio": 0.59490724836077,
"color": "#af32ba",
"value": "217"
}, {
"time": "2020-01-07",
"ratio": 0.55097333635603,
"color": "#e02d1c",
"value": "193"
}, {
"time": "2020-01-08",
"ratio": 0.56330736432757,
"color": "#e02d1c",
"value": "198"
}, {
"time": "2020-01-09",
"ratio": 0.50950801304408,
"color": "#e02d1c",
"value": "179"
}, {
"time": "2020-01-10",
"ratio": 0.55940168108259,
"color": "#e02d1c",
"value": "196"
}, {
"time": "2020-01-11",
"ratio": 0.58205601283482,
"color": "#af32ba",
"value": "208"
}, {
"time": "2020-01-12",
"ratio": 0.70482609340123,
"color": "#af32ba",
"value": "294"
}, {
"time": "2020-01-13",
"ratio": 0.69152016775949,
"color": "#af32ba",
"value": "285"
}, {
"time": "2020-01-14",
"ratio": 0.56240282331194,
"color": "#e02d1c",
"value": "197"
}, {
"time": "2020-01-15",
"ratio": 0.54310381208147,
"color": "#e02d1c",
"value": "191"
}, {
"time": "2020-01-16",
"ratio": 0.5584559413365,
"color": "#e02d1c",
"value": "196"
}, {
"time": "2020-01-17",
"ratio": 0.49517634800502,
"color": "#e02d1c",
"value": "174"
}, {
"time": "2020-01-18",
"ratio": 0.58511461530413,
"color": "#af32ba",
"value": "210"
}, {
"time": "2020-01-19",
"ratio": 0.55734946114676,
"color": "#e02d1c",
"value": "196"
}, {
"time": "2020-01-20",
"ratio": 0.60453412737165,
"color": "#af32ba",
"value": "224"
}, {
"time": "2020-01-21",
"ratio": 0.67324606759208,
"color": "#af32ba",
"value": "272"
}, {
"time": "2020-01-22",
"ratio": 0.63285563877651,
"color": "#af32ba",
"value": "243"
}, {
"time": "2020-01-23",
"ratio": 0.44703098842076,
"color": "#e02d1c",
"value": "157"
}, {
"time": "2020-01-24",
"ratio": 0.47499415806362,
"color": "#e02d1c",
"value": "167"
}, {
"time": "2020-01-25",
"ratio": 0.60020056588309,
"color": "#af32ba",
"value": "221"
}, {
"time": "2020-01-26",
"ratio": 0.68230961390904,
"color": "#af32ba",
"value": "278"
}, {
"time": "2020-01-27",
"ratio": 0.68744742257254,
"color": "#af32ba",
"value": "282"
}, {
"time": "2020-01-28",
"ratio": 0.5181833757673,
"color": "#e02d1c",
"value": "182"
}, {
"time": "2020-01-29",
"ratio": 0.46853306361607,
"color": "#e02d1c",
"value": "164"
}, {
"time": "2020-01-30",
"ratio": 0.4740678187779,
"color": "#e02d1c",
"value": "166"
}, {
"time": "2020-01-31",
"ratio": 0.48630798339844,
"color": "#e02d1c",
"value": "171"
}, {
"time": "2020-02-01",
"ratio": 0.51806919642857,
"color": "#e02d1c",
"value": "182"
}, {
"time": "2020-02-02",
"ratio": 0.5194389125279,
"color": "#e02d1c",
"value": "182"
}, {
"time": "2020-02-03",
"ratio": 0.56031964983259,
"color": "#e02d1c",
"value": "197"
}, {
"time": "2020-02-04",
"ratio": 0.63990195138114,
"color": "#af32ba",
"value": "248"
}, {
"time": "2020-02-05",
"ratio": 0.56083203996931,
"color": "#e02d1c",
"value": "197"
}, {
"time": "2020-02-06",
"ratio": 0.5218692452567,
"color": "#e02d1c",
"value": "183"
}, {
"time": "2020-02-07",
"ratio": 0.57655552455357,
"color": "#af32ba",
"value": "204"
}, {
"time": "2020-02-08",
"ratio": 0.55853197370257,
"color": "#e02d1c",
"value": "196"
}, {
"time": "2020-02-09",
"ratio": 0.56852155412946,
"color": "#e02d1c",
"value": "199"
}, {
"time": "2020-02-10",
"ratio": 0.60758928571429,
"color": "#af32ba",
"value": "226"
}, {
"time": "2020-02-11",
"ratio": 0.61407902308873,
"color": "#af32ba",
"value": "230"
}, {
"time": "2020-02-12",
"ratio": 0.57228140694754,
"color": "#af32ba",
"value": "201"
}, {
"time": "2020-02-13",
"ratio": 0.47041338239397,
"color": "#e02d1c",
"value": "165"
}, {
"time": "2020-02-14",
"ratio": 0.43970227922712,
"color": "#e02d1c",
"value": "154"
}, {
"time": "2020-02-15",
"ratio": 0.45698224748884,
"color": "#e02d1c",
"value": "160"
}, {
"time": "2020-02-16",
"ratio": 0.52606009347098,
"color": "#e02d1c",
"value": "185"
}, {
"time": "2020-02-17",
"ratio": 0.54223999023437,
"color": "#e02d1c",
"value": "190"
}, {
"time": "2020-02-18",
"ratio": 0.51998731340681,
"color": "#e02d1c",
"value": "182"
}, {
"time": "2020-02-19",
"ratio": 0.55759107317243,
"color": "#e02d1c",
"value": "196"
}, {
"time": "2020-02-20",
"ratio": 0.50911246163504,
"color": "#e02d1c",
"value": "179"
}, {
"time": "2020-02-21",
"ratio": 0.38317086356027,
"color": "#e88019",
"value": "135"
}, {
"time": "2020-02-22",
"ratio": 0.4344677734375,
"color": "#e02d1c",
"value": "153"
}, {
"time": "2020-02-23",
"ratio": 0.49787514822824,
"color": "#e02d1c",
"value": "175"
}, {
"time": "2020-02-24",
"ratio": 0.45007755824498,
"color": "#e02d1c",
"value": "158"
}, {
"time": "2020-02-25",
"ratio": 0.54131862095424,
"color": "#e02d1c",
"value": "190"
}, {
"time": "2020-02-26",
"ratio": 0.55661211286272,
"color": "#e02d1c",
"value": "195"
}, {
"time": "2020-02-27",
"ratio": 0.49899640764509,
"color": "#e02d1c",
"value": "175"
}, {
"time": "2020-02-28",
"ratio": 0.48148729596819,
"color": "#e02d1c",
"value": "169"
}, {
"time": "2020-02-29",
"ratio": 0.44419359479632,
"color": "#e02d1c",
"value": "156"
}, {
"time": "2020-03-01",
"ratio": 0.29562166486468,
"color": "#e88019",
"value": "104"
}, {
"time": "2020-03-02",
"ratio": 0.52623609270368,
"color": "#e02d1c",
"value": "185"
}, {
"time": "2020-03-03",
"ratio": 0.47741572788783,
"color": "#e02d1c",
"value": "168"
}, {
"time": "2020-03-04",
"ratio": 0.47608115059989,
"color": "#e02d1c",
"value": "167"
}, {
"time": "2020-03-05",
"ratio": 0.27662227085658,
"color": "#d9d726",
"value": "97"
}, {
"time": "2020-03-06",
"ratio": 0.17696669442313,
"color": "#d9d726",
"value": "62"
}, {
"time": "2020-03-07",
"ratio": 0.31690327235631,
"color": "#e88019",
"value": "111"
}, {
"time": "2020-03-08",
"ratio": 0.47995356968471,
"color": "#e02d1c",
"value": "168"
}, {
"time": "2020-03-09",
"ratio": 0.36299078805106,
"color": "#e88019",
"value": "128"
}, {
"time": "2020-03-10",
"ratio": 0.47666608537946,
"color": "#e02d1c",
"value": "167"
}, {
"time": "2020-03-11",
"ratio": 0.43095389229911,
"color": "#e02d1c",
"value": "151"
}, {
"time": "2020-03-12",
"ratio": 0.43626831054687,
"color": "#e02d1c",
"value": "153"
}, {
"time": "2020-03-13",
"ratio": 0.4160981968471,
"color": "#e88019",
"value": "146"
}, {
"time": "2020-03-14",
"ratio": 0.29995908464704,
"color": "#e88019",
"value": "105"
}, {
"time": "2020-03-15",
"ratio": 0.40979143415179,
"color": "#e88019",
"value": "144"
}, {
"time": "2020-03-16",
"ratio": 0.41520817347935,
"color": "#e88019",
"value": "146"
}, {
"time": "2020-03-17",
"ratio": 0.4413075038365,
"color": "#e02d1c",
"value": "155"
}, {
"time": "2020-03-18",
"ratio": 0.44187107631138,
"color": "#e02d1c",
"value": "155"
}, {
"time": "2020-03-19",
"ratio": 0.48788269042969,
"color": "#e02d1c",
"value": "171"
}, {
"time": "2020-03-20",
"ratio": 0.48208465576172,
"color": "#e02d1c",
"value": "169"
}, {
"time": "2020-03-21",
"ratio": 0.45020455496652,
"color": "#e02d1c",
"value": "158"
}, {
"time": "2020-03-22",
"ratio": 0.45149135044643,
"color": "#e02d1c",
"value": "159"
}, {
"time": "2020-03-23",
"ratio": 0.38063738141741,
"color": "#e88019",
"value": "134"
}, {
"time": "2020-03-24",
"ratio": 0.43156481061663,
"color": "#e02d1c",
"value": "152"
}, {
"time": "2020-03-25",
"ratio": 0.28697396414621,
"color": "#e88019",
"value": "101"
}, {
"time": "2020-03-26",
"ratio": 0.32139857700893,
"color": "#e88019",
"value": "113"
}, {
"time": "2020-03-27",
"ratio": 0.2061016191755,
"color": "#d9d726",
"value": "73"
}, {
"time": "2020-03-28",
"ratio": 0.19554589407785,
"color": "#d9d726",
"value": "69"
}, {
"time": "2020-03-29",
"ratio": 0.19427304949079,
"color": "#d9d726",
"value": "68"
}, {
"time": "2020-03-30",
"ratio": 0.24569597516741,
"color": "#d9d726",
"value": "86"
}, {
"time": "2020-03-31",
"ratio": 0.25614486694336,
"color": "#d9d726",
"value": "90"
}, {
"time": "2020-04-01",
"ratio": 0.19292960030692,
"color": "#d9d726",
"value": "68"
}, {
"time": "2020-04-02",
"ratio": 0.16770112173898,
"color": "#d9d726",
"value": "59"
}, {
"time": "2020-04-03",
"ratio": 0.24302124023438,
"color": "#d9d726",
"value": "86"
}, {
"time": "2020-04-04"
}]
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment