23(1) The council of a municipality may, by by-law, require every person conducting or carrying on an automobile livery, or letting or having motor vehicles, including drive-yourself automobiles and taxicabs, for hire or gain, within the municipality, or using the streets thereof in connection with such a business, to take out an annual licence from the municipality, and to pay a licence fee there