Traditional Culture Encyclopedia - Weather inquiry - Calling weather forecast API with Jquery

Calling weather forecast API with Jquery

$.get script('/iplookup/iplookup . PHP? Format=js', function (_result) {

if(remote _ IP _ info . ret = = ' 1 '){

$.ajax({

Type: Get,

Website: "/weather_mini? city="+remote_ip_info.city,

Data: "",

Success: Function (Message) {

console . log(msg);

}

});

}

});