And every city of the second class shall have power, for general revenue purposes, to levy and collect license taxes or fees, to be fixed by ordinance, upon street railways, hackdrivers, auctioneers, bill posters, public balls or dances, night soilers, garbage collectors, railroad switches, pawnbrokers, peddlers; venders of any kind of merchandise whatever, using the streets, lanes, highways, wharves, or public squares of grounds, for the purpose of vending the same; all theatrical exhibitions, whether permanent or transient (including circuses), vehicles, bicycles, tricycles, automobiles, dogs, ball games or ball parks, and all other matters and things of a like nature, and to regulate the collection of the same and to provide penalties for default therein.
53 P.S. § 23127