The duties of the Building Inspector shall be to examine the dwellings and buildings in the city and its extraterritorial jurisdiction for the purpose of locating and taking action in respect to any of them being unfit for human habitation for any cause or dangerous or unsafe to other persons or other property and to perform any other duties imposed upon the office by statute, ordinance or other direction of the City Council.