Is there any to find data about what heroes are a part of a game you or a friend are in?

Is there a match ID?

Is there a way to get any sort of data from the console for non-tournament games? Is there anything you can do with the Web API?

Thanks!