Ionic directions api with less traffic implementation

Could you be anyone be knowing how i can embeed a functionality like that of google maps that shows roads with different traffics when travelling to a particular place with directions service which i have already impemeneted by cant find a way of showing the roads with the least traffic,