Several shots were fired and a man was attacked with a machete in a residential area where children were playing in a second night of violence in Birmingham.

West Midlands police described the attack on Friday night as a “truly outrageous” outbreak of targeted gang violence in Saltley.

A day earlier, James Teer, 20, was fatally wounded in a drive-by shooting just metres from his home in nearby Erdington.

Friday’s disorder began with a car chase in Washwood Heath Road involving a VW Golf and a blue BMW. The latter vehicle crashed into a wall by Silver Birch Close at around 6.40pm and the two occupants were targeted with a shotgun and a machete by two men wearing face coverings in a cul-de-sac where children were outside playing.

A 23-year-old man sustained cuts to his legs and remains in hospital, while another 23-year-old escaped with a minor graze from a shotgun pellet. He was discharged from hospital but arrested on suspicion of also possessing a firearm.

The attackers fled in the VW and efforts were under way to trace the vehicle and those responsible.

West Midlands police said: “Witnesses have told that several shots were fired and it’s very fortunate innocent people, including children, were not injured. We believe this was a targeted attack between rival groups.

“It’s simply not acceptable for people to engage in this level of violence in residential streets and we all need to work together to catch those responsible and send out a message that our communities won’t tolerate this.”

A postmortem examination on Teer’s body was to take place on Saturday afternoon.

West Midlands police said the two attacks were not thought to be linked.

Officers working on the Teer case were trawling CCTV, carrying out local enquiries and speaking to witnesses.

Detectives were keen to hear from anyone who had dash-cam footage of a dark coloured car in the area at the time that is understood to have been involved.

Birmingham police Supt Sarah Burton said: “We have a specially trained family liaison officer supporting James’s loved ones. They are totally devastated and inconsolable; they can’t comprehend what’s happened and want answers.

“This was an outrageous act in the early evening on one of our streets. One young man has lost his life and we are determined to bring the people responsible to justice.”

She said officers had been deployed in the area “to provide a visible reassurance”.

“There will be people in the community who know what’s happened and who was involved. I would ask them to do the right thing and get in touch – they can speak to us anonymously, we don’t need their names, just information to help us catch the killers.”