{"size": 741, "ext": "js", "max_stars_repo_path": "node_modules/.cache/esm/6173dcfda3d79525.js", "max_stars_repo_name": "izqalan/air-quality-index", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "node_modules/.cache/esm/6173dcfda3d79525.js", "max_issues_repo_name": "izqalan/air-quality-index", "max_issues_repo_issues_event_min_datetime": "2022-01-22T09:10:27.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-22T09:10:27.000Z", "max_forks_repo_path": "node_modules/.cache/esm/6173dcfda3d79525.js", "max_forks_repo_name": "izqalan/air-quality-index", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 23.9032258065, "max_line_length": 130, "alphanum_fraction": 0.6275303644}
_a3d‍.x([["run",()=>run]]);
// import * as aqiLibs from "function.js";
const aqiLibs = require('./function');


// var request = require('request');

// var TOKEN = '97f08b9a493b5fd785bbf88d5d78a0e1cea8f832';
// var URI = 'https://api.waqi.info/feed/'

// request('https://api.waqi.info/feed/seremban/?token=97f08b9a493b5fd785bbf88d5d78a0e1cea8f832', function(error, response, body){
//     console.log('error: ', error);
//     console.log('response', response && response.statusCode);
//     console.log('Body: ', body);
//     var obj = JSON.parse(body);
//     var aqi = obj.data.aqi;
//     console.log('aqi: '+ aqi);
// })

       function run(){

    
    const search = aqiLibs.search('seremban');


    aqiLibs.getAqi(search);


}

