call us now : : 347-649-4219

# Complaint Number Address Date Entered Category Inspection Date Disposition Status

var bin= ;

var source_url= 'https://data.cityofnewyork.us/resource/muk7-ct23.json?';

var full_api_url = source_url + "bin=" + bin;

$.getJSON(full_api_url, function(result){ var counter_num2 = 0; $.each(result, function(i, field){ comp_status = field.status ; comp_no = field.complaint_number ;

if(comp_status.search(/ACTIVE/i) != -1) {

var source_url2= 'https://data.cityofnewyork.us/resource/muk7-ct23.json?';

var full_api_url2 = source_url2 + "complaint_number=" + comp_no;

var counter_num2n = 0;

$.getJSON(full_api_url2, function(result2){

$.each(result2, function(i, field2){

comp_status2=field2.status;

if(comp_status2.search(/CLOSED/i) != -1) { counter_num2n = counter_num2n + 1; }

}); });

if(counter_num2n ===0 ){ counter_num2 = counter_num2 + 1; $("#vionumcount1").append("

"+ " " + counter_num2 + "

" + "

" + field.complaint_number + "

" + "

" + field.house_street + "

" + "

" + field.date_entered + "

" + "

" + field.complaint_category + "

" + "

" + field.inspection_date + "

" + "

" + field.disposition_code+ "

" + "

" + field.status + "

" + "

") } } }); });

# COMPLAINT ID RECEIVE DATE STATUS STATUS DATE BUILDING ID

var blocknumber= ;

var lotnumber= ;

var boroughnumber= ;

var counter_num_hpd = 0;

var source_url= 'https://data.cityofnewyork.us/resource/uwyv-629c.json?';

var full_api_url = source_url+"block="+blocknumber+'&'+"lot="+lotnumber+'&'+"boroughid="+boroughnumber;

$.getJSON(full_api_url, function(result){ $.each(result, function(i, field){ comp_status = field.status ;

if(comp_status.search(/OPEN/i) != -1) {

counter_num_hpd = counter_num_hpd + 1;

$("#vionumcount2").append("

"+ " " + counter_num_hpd + "

" + "

" + field.complaintid + "

" + "

" + field.receiveddate + "

" + "

" + field.status + "

" + "

" + field.statusdate + "

" + "

" + field.buildingid + "

" + "

")

}

}); });

# Building ID Low / High House No Zip Board CensusTract Management Program Building Class ID Building Class Legal Stories Legal Class A / B Registration ID Life Cycle Record ID / Status

var bin= ;

var source_url= 'https://data.cityofnewyork.us/resource/sc6a-36xc.json?';

var full_api_url = source_url+"bin="+bin;

var counter_num_bsj = 0;

$.getJSON(full_api_url, function(result){ $.each(result, function(i, field){

counter_num_bsj = counter_num_bsj + 1;

$("#vionumcount3").append("

"+ " " + counter_num_bsj + "

" + "

" + field.buildingid + "

" + "

" + field.lowhousenumber + " / "+ field.highhousenumber + "

" + "

" + field.zip+ "

" + "

" + field.communityboard+ "

" + "

" + field.censustract+ "

" + "

" + field.managementprogram + "

" + "

" + field.dobbuildingclassid + "

" + "

" + field.dobbuildingclass + "

" + "

" + field.legalstories + "

" + "

" + field.legalclassa+ " / " + field.legalclassb + "

" + "

" + field.registrationid+ "

" + "

" + field.lifecycle + "

" + "

" + field.recordstatusid + "/" + field.recordstatus + "

" + "

")

}); });